#334F68

Closest named color: Dark Grey Blue (#29465B). oklch(41.6% 0.054 246.5), rgb(51, 79, 104).

Aa

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

About this color

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

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

Values

HEX#334F68
RGBrgb(51, 79, 104)
HSLhsl(208, 34%, 30%)
OKLCHoklch(41.6% 0.054 246.5)

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 #334F68 8.53:1 AAA Lc -93.8 Preferred for body text
Black text on #334F68 2.45:1 Fails Lc 14.7 Not readable
#334F68 text on white 8.53:1 AAA Lc 89.3 Fine for body text
#334F68 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

    #E5EBF0

    oklch(93.7% 0.009 242.8)

  3. Step 200

    200

    #D0DBE4

    oklch(88.6% 0.017 242.5)

  4. Step 300

    300

    #B1C3D4

    oklch(80.9% 0.031 246.7)

  5. Step 400

    400

    #87A4BF

    oklch(70.6% 0.051 246.7)

  6. Step 500

    500

    #698EAF

    oklch(63.2% 0.065 246)

  7. Step 600

    600

    #50779A

    oklch(55.5% 0.07 246.5)

  8. Step 700

    700

    #416484

    oklch(49% 0.066 247.1)

  9. Step 800

    800 (this color)

    #334F68

    oklch(41.6% 0.054 246.5)

  10. Step 900

    900

    #2F4457

    oklch(37.7% 0.042 246.5)

  11. Step 950

    950

    #1C2833

    oklch(27.1% 0.026 246.6)

Export this scale for Tailwind in the Tailwind colors tool

#334F68 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)#454F690.024
Deuteranopia (no green cones)#3E4A680.020
Tritanopia (no blue cones)#1B55570.046
Achromatopsia (no color)#4C4C4C0.054

Harmonies

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

Complementary

The opposite hue (180°).

  • #334F68

    #334F68

    oklch(41.6% 0.054 246.5)

  • #60462B

    #60462B

    oklch(41.6% 0.054 66.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334F68

    #334F68

    oklch(41.6% 0.054 246.5)

  • #25535F

    #25535F

    oklch(41.5% 0.054 217.3)

  • #444A6A

    #444A6A

    oklch(41.8% 0.054 275.6)

Open the analogous palette in the generator

Split complementary

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

  • #334F68

    #334F68

    oklch(41.6% 0.054 246.5)

  • #664237

    #664237

    oklch(41.7% 0.054 37.7)

  • #554C29

    #554C29

    oklch(41.7% 0.053 95.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334F68

    #334F68

    oklch(41.6% 0.054 246.5)

  • #654047

    #654047

    oklch(41.7% 0.052 7.2)

  • #445231

    #445231

    oklch(41.7% 0.055 127.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334F68

    #334F68

    oklch(41.6% 0.054 246.5)

  • #5F4157

    #5F4157

    oklch(41.7% 0.053 336.6)

  • #60462B

    #60462B

    oklch(41.6% 0.054 66.5)

  • #325540

    #325540

    oklch(41.6% 0.054 156.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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