#334C62

Closest named color: Dark Grey Blue (#29465B). oklch(40.6% 0.048 245.9), rgb(51, 76, 98).

Aa

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

About this color

#334C62 is a dark, muted blue. In OKLCH its lightness is 41%, its chroma 0.048 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.025 away. White text reads best on it, at 8.93:1.

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

Values

HEX#334C62
RGBrgb(51, 76, 98)
HSLhsl(208, 32%, 29%)
OKLCHoklch(40.6% 0.048 245.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 #334C62 8.93:1 AAA Lc -94.8 Preferred for body text
Black text on #334C62 2.35:1 Fails Lc 13.5 Not readable
#334C62 text on white 8.93:1 AAA Lc 90.4 Preferred for body text
#334C62 text on black 2.35:1 Fails Lc -11.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

    #E6EAEF

    oklch(93.5% 0.008 253.9)

  3. Step 200

    200

    #D1DAE3

    oklch(88.4% 0.016 248)

  4. Step 300

    300

    #B2C3D2

    oklch(80.9% 0.028 244.8)

  5. Step 400

    400

    #8AA4BC

    oklch(70.7% 0.046 246.3)

  6. Step 500

    500

    #6D8DAB

    oklch(63% 0.058 247.1)

  7. Step 600

    600

    #547796

    oklch(55.5% 0.063 246)

  8. Step 700

    700

    #456480

    oklch(49.1% 0.058 246.6)

  9. Step 800

    800 (this color)

    #334C62

    oklch(40.6% 0.048 245.9)

  10. Step 900

    900

    #314455

    oklch(37.8% 0.038 246)

  11. Step 950

    950

    #1D2832

    oklch(27.1% 0.024 246.3)

Export this scale for Tailwind in the Tailwind colors tool

#334C62 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)#434C630.022
Deuteranopia (no green cones)#3D47620.020
Tritanopia (no blue cones)#2051530.040
Achromatopsia (no color)#4949490.048

Harmonies

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

Complementary

The opposite hue (180°).

  • #334C62

    #334C62

    oklch(40.6% 0.048 245.9)

  • #5B442D

    #5B442D

    oklch(40.6% 0.048 65.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334C62

    #334C62

    oklch(40.6% 0.048 245.9)

  • #28505A

    #28505A

    oklch(40.6% 0.048 216)

  • #424764

    #424764

    oklch(40.6% 0.049 276.4)

Open the analogous palette in the generator

Split complementary

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

  • #334C62

    #334C62

    oklch(40.6% 0.048 245.9)

  • #604037

    #604037

    oklch(40.5% 0.048 36.4)

  • #51492A

    #51492A

    oklch(40.5% 0.048 95.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334C62

    #334C62

    oklch(40.6% 0.048 245.9)

  • #603E45

    #603E45

    oklch(40.5% 0.049 6)

  • #434E31

    #434E31

    oklch(40.6% 0.048 125.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334C62

    #334C62

    oklch(40.6% 0.048 245.9)

  • #5A3F53

    #5A3F53

    oklch(40.5% 0.048 336.2)

  • #5B442D

    #5B442D

    oklch(40.6% 0.048 65.8)

  • #33513E

    #33513E

    oklch(40.5% 0.048 155.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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