#334F66

Closest named color: Dark Grey Blue (#29465B). oklch(41.5% 0.051 244.3), rgb(51, 79, 102).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (42%)
Chromamuted (0.051)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.45:1
White text8.56:1

Values

HEX#334F66
RGBrgb(51, 79, 102)
HSLhsl(207, 33%, 30%)
OKLCHoklch(41.5% 0.051 244.3)

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 #334F66 8.56:1 AAA Lc -93.9 Preferred for body text
Black text on #334F66 2.45:1 Fails Lc 14.6 Not readable
#334F66 text on white 8.56:1 AAA Lc 89.4 Fine for body text
#334F66 text on black 2.45:1 Fails Lc -12.9 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

    #E5EBEF

    oklch(93.7% 0.008 236.6)

  3. Step 200

    200

    #D0DBE4

    oklch(88.6% 0.017 242.5)

  4. Step 300

    300

    #B1C3D3

    oklch(80.9% 0.03 245)

  5. Step 400

    400

    #88A4BD

    oklch(70.6% 0.048 245.5)

  6. Step 500

    500

    #6A8EAC

    oklch(63.1% 0.061 244.1)

  7. Step 600

    600

    #517898

    oklch(55.7% 0.067 244.1)

  8. Step 700

    700

    #416582

    oklch(49.2% 0.062 243.8)

  9. Step 800

    800 (this color)

    #334F66

    oklch(41.5% 0.051 244.3)

  10. Step 900

    900

    #2F4456

    oklch(37.7% 0.041 245)

  11. Step 950

    950

    #1C2832

    oklch(27% 0.025 244)

Export this scale for Tailwind in the Tailwind colors tool

#334F66 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)#454F670.024
Deuteranopia (no green cones)#3F4A660.021
Tritanopia (no blue cones)#1C55570.043
Achromatopsia (no color)#4C4C4C0.051

Harmonies

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

Complementary

The opposite hue (180°).

  • #334F66

    #334F66

    oklch(41.5% 0.051 244.3)

  • #60462D

    #60462D

    oklch(41.6% 0.052 64.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334F66

    #334F66

    oklch(41.5% 0.051 244.3)

  • #27535D

    #27535D

    oklch(41.5% 0.051 214.5)

  • #434A68

    #434A68

    oklch(41.6% 0.051 273.9)

Open the analogous palette in the generator

Split complementary

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

  • #334F66

    #334F66

    oklch(41.5% 0.051 244.3)

  • #654239

    #654239

    oklch(41.7% 0.051 35)

  • #554C2A

    #554C2A

    oklch(41.7% 0.052 95)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334F66

    #334F66

    oklch(41.5% 0.051 244.3)

  • #644048

    #644048

    oklch(41.6% 0.051 5)

  • #465131

    #465131

    oklch(41.6% 0.052 124.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334F66

    #334F66

    oklch(41.5% 0.051 244.3)

  • #5D4157

    #5D4157

    oklch(41.4% 0.051 334.3)

  • #60462D

    #60462D

    oklch(41.6% 0.052 64.5)

  • #35543F

    #35543F

    oklch(41.5% 0.051 154)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #334F66 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.