#334C64

Closest named color: Dark Grey Blue (#29465B). oklch(40.7% 0.051 248.2), rgb(51, 76, 100).

Aa

White text reads best on this color (8.90:1).

About this color

#334C64 is a dark, muted blue. In OKLCH its lightness is 41%, its chroma 0.051 and its hue 248°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.027 away. White text reads best on it, at 8.90:1.

Hue familyBlues
Lightnessdark (41%)
Chromamuted (0.051)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.35:1
White text8.90:1

Values

HEX#334C64
RGBrgb(51, 76, 100)
HSLhsl(209, 32%, 30%)
OKLCHoklch(40.7% 0.051 248.2)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #334C64 8.90:1 AAA Lc -94.8 Preferred for body text
Black text on #334C64 2.35:1 Fails Lc 13.6 Not readable
#334C64 text on white 8.90:1 AAA Lc 90.3 Preferred for body text
#334C64 text on black 2.35:1 Fails Lc -12.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 800.

  1. Step 50

    50

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E5EAEF

    oklch(93.5% 0.009 247.9)

  3. Step 200

    200

    #D1DAE4

    oklch(88.4% 0.017 250.9)

  4. Step 300

    300

    #B2C3D3

    oklch(80.9% 0.029 246.5)

  5. Step 400

    400

    #8AA4BD

    oklch(70.8% 0.047 247.5)

  6. Step 500

    500

    #6C8DAD

    oklch(63.1% 0.061 248)

  7. Step 600

    600

    #547799

    oklch(55.7% 0.067 248.4)

  8. Step 700

    700

    #446482

    oklch(49.1% 0.061 247.6)

  9. Step 800

    800 (this color)

    #334C64

    oklch(40.7% 0.051 248.2)

  10. Step 900

    900

    #314456

    oklch(37.8% 0.039 247.5)

  11. Step 950

    950

    #1D2832

    oklch(27.1% 0.024 246.3)

Export this scale for Tailwind in the Tailwind colors tool

#334C64 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#424D650.021
Deuteranopia (no green cones)#3C48640.016
Tritanopia (no blue cones)#1E52540.044
Achromatopsia (no color)#4A4A4A0.051

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #334C64

    #334C64

    oklch(40.7% 0.051 248.2)

  • #5C442B

    #5C442B

    oklch(40.6% 0.05 66.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334C64

    #334C64

    oklch(40.7% 0.051 248.2)

  • #26505C

    #26505C

    oklch(40.6% 0.051 218.8)

  • #434765

    #434765

    oklch(40.7% 0.051 278)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #334C64

    #334C64

    oklch(40.7% 0.051 248.2)

  • #624035

    #624035

    oklch(40.8% 0.051 38.7)

  • #514A29

    #514A29

    oklch(40.7% 0.05 97.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334C64

    #334C64

    oklch(40.7% 0.051 248.2)

  • #623E44

    #623E44

    oklch(40.8% 0.051 8.7)

  • #414F31

    #414F31

    oklch(40.7% 0.051 128.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334C64

    #334C64

    oklch(40.7% 0.051 248.2)

  • #5C3F53

    #5C3F53

    oklch(40.8% 0.05 338.5)

  • #5C442B

    #5C442B

    oklch(40.6% 0.05 66.7)

  • #31523F

    #31523F

    oklch(40.7% 0.051 157.9)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #334C64, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #334C64 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.