#334C68

Closest named color: Dark Grey Blue (#29465B). oklch(40.9% 0.056 252), rgb(51, 76, 104).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (41%)
Chromamuted (0.056)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.37:1
White text8.84:1

Values

HEX#334C68
RGBrgb(51, 76, 104)
HSLhsl(212, 34%, 30%)
OKLCHoklch(40.9% 0.056 252)

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 #334C68 8.84:1 AAA Lc -94.6 Preferred for body text
Black text on #334C68 2.37:1 Fails Lc 13.8 Not readable
#334C68 text on white 8.84:1 AAA Lc 90.2 Preferred for body text
#334C68 text on black 2.37:1 Fails Lc -12.1 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

    #E5EAF0

    oklch(93.5% 0.01 252.8)

  3. Step 200

    200

    #D1DAE5

    oklch(88.5% 0.018 253.4)

  4. Step 300

    300

    #B2C3D6

    oklch(81% 0.033 251.2)

  5. Step 400

    400

    #89A3C1

    oklch(70.6% 0.053 252.2)

  6. Step 500

    500

    #6C8CB2

    oklch(63% 0.068 253.1)

  7. Step 600

    600

    #53769D

    oklch(55.6% 0.073 251.8)

  8. Step 700

    700

    #436387

    oklch(49.1% 0.069 252.1)

  9. Step 800

    800 (this color)

    #334C68

    oklch(40.9% 0.056 252)

  10. Step 900

    900

    #304359

    oklch(37.7% 0.045 252.6)

  11. Step 950

    950

    #1C2734

    oklch(26.9% 0.029 253)

Export this scale for Tailwind in the Tailwind colors tool

#334C68 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)#414D690.020
Deuteranopia (no green cones)#3A48670.014
Tritanopia (no blue cones)#1B52560.048
Achromatopsia (no color)#4A4A4A0.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #334C68

    #334C68

    oklch(40.9% 0.056 252)

  • #5D4526

    #5D4526

    oklch(40.9% 0.056 72.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334C68

    #334C68

    oklch(40.9% 0.056 252)

  • #225160

    #225160

    oklch(40.9% 0.057 221.8)

  • #454668

    #454668

    oklch(40.8% 0.057 282.3)

Open the analogous palette in the generator

Split complementary

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

  • #334C68

    #334C68

    oklch(40.9% 0.056 252)

  • #644031

    #644031

    oklch(40.9% 0.056 43.4)

  • #504B25

    #504B25

    oklch(40.8% 0.057 101.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334C68

    #334C68

    oklch(40.9% 0.056 252)

  • #653D42

    #653D42

    oklch(40.9% 0.057 11.7)

  • #3F5130

    #3F5130

    oklch(41% 0.057 131.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334C68

    #334C68

    oklch(40.9% 0.056 252)

  • #5F3E53

    #5F3E53

    oklch(40.9% 0.056 341.3)

  • #5D4526

    #5D4526

    oklch(40.9% 0.056 72.2)

  • #2B5441

    #2B5441

    oklch(41% 0.057 162.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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