#334662

Closest named color: Dark Grey Blue (#29465B). oklch(39.1% 0.054 257.9), rgb(51, 70, 98).

Aa

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

About this color

#334662 is a dark, muted blue. In OKLCH its lightness is 39%, its chroma 0.054 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.018 away. White text reads best on it, at 9.57:1.

Hue familyBlues
Lightnessdark (39%)
Chromamuted (0.054)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.19:1
White text9.57:1

Values

HEX#334662
RGBrgb(51, 70, 98)
HSLhsl(216, 32%, 29%)
OKLCHoklch(39.1% 0.054 257.9)

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 #334662 9.57:1 AAA Lc -96.4 Preferred for body text
Black text on #334662 2.19:1 Fails Lc 11.8 Not readable
#334662 text on white 9.57:1 AAA Lc 92.1 Preferred for body text
#334662 text on black 2.19:1 Fails Lc -10.3 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 900.

  1. Step 50

    50

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E5EAF2

    oklch(93.6% 0.012 259.8)

  3. Step 200

    200

    #D0DAE8

    oklch(88.5% 0.022 256.7)

  4. Step 300

    300

    #B1C2DB

    oklch(80.9% 0.04 257.9)

  5. Step 400

    400

    #88A2C9

    oklch(70.7% 0.064 258.3)

  6. Step 500

    500

    #6A8BBB

    oklch(63.1% 0.082 257.7)

  7. Step 600

    600

    #5274A7

    oklch(55.5% 0.089 258.3)

  8. Step 700

    700

    #426190

    oklch(49% 0.084 258.5)

  9. Step 800

    800

    #375075

    oklch(42.8% 0.069 258)

  10. Step 900

    900 (this color)

    #334662

    oklch(39.1% 0.054 257.9)

  11. Step 950

    950

    #1C2737

    oklch(27% 0.034 257.7)

Export this scale for Tailwind in the Tailwind colors tool

#334662 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)#3C48630.015
Deuteranopia (no green cones)#3643610.009
Tritanopia (no blue cones)#214C500.047
Achromatopsia (no color)#4545450.054

Harmonies

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

Complementary

The opposite hue (180°).

  • #334662

    #334662

    oklch(39.1% 0.054 257.9)

  • #554222

    #554222

    oklch(39.2% 0.054 79.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334662

    #334662

    oklch(39.1% 0.054 257.9)

  • #224B5C

    #224B5C

    oklch(39.1% 0.054 227.7)

  • #444161

    #444161

    oklch(39.2% 0.054 287.9)

Open the analogous palette in the generator

Split complementary

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

  • #334662

    #334662

    oklch(39.1% 0.054 257.9)

  • #5D3C2B

    #5D3C2B

    oklch(39% 0.054 47.9)

  • #484724

    #484724

    oklch(39% 0.053 107.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334662

    #334662

    oklch(39.1% 0.054 257.9)

  • #5F393A

    #5F393A

    oklch(39.1% 0.054 18.1)

  • #374C30

    #374C30

    oklch(39.1% 0.053 138.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334662

    #334662

    oklch(39.1% 0.054 257.9)

  • #5B394A

    #5B394A

    oklch(39.1% 0.054 348.5)

  • #554222

    #554222

    oklch(39.2% 0.054 79.2)

  • #254F40

    #254F40

    oklch(39.2% 0.054 168)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #334662 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.