#334862

Closest named color: Dark Grey Blue (#29465B). oklch(39.6% 0.052 254.2), rgb(51, 72, 98).

Aa

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

About this color

#334862 is a dark, muted blue. In OKLCH its lightness is 40%, its chroma 0.052 and its hue 254°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.019 away. White text reads best on it, at 9.35:1.

Hue familyBlues
Lightnessdark (40%)
Chromamuted (0.052)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.24:1
White text9.35:1

Values

HEX#334862
RGBrgb(51, 72, 98)
HSLhsl(213, 32%, 29%)
OKLCHoklch(39.6% 0.052 254.2)

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 #334862 9.35:1 AAA Lc -95.9 Preferred for body text
Black text on #334862 2.24:1 Fails Lc 12.4 Not readable
#334862 text on white 9.35:1 AAA Lc 91.6 Preferred for body text
#334862 text on black 2.24:1 Fails Lc -10.8 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

    #E5EAF1

    oklch(93.5% 0.011 256.7)

  3. Step 200

    200

    #D0DAE7

    oklch(88.5% 0.021 254.9)

  4. Step 300

    300

    #B0C2DA

    oklch(80.8% 0.039 255.6)

  5. Step 400

    400

    #86A3C7

    oklch(70.7% 0.062 254.1)

  6. Step 500

    500

    #688CB9

    oklch(63.1% 0.079 254.4)

  7. Step 600

    600

    #4F76A5

    oklch(55.7% 0.086 253.8)

  8. Step 700

    700

    #40638D

    oklch(49.2% 0.079 253.7)

  9. Step 800

    800

    #355173

    oklch(42.8% 0.066 253.9)

  10. Step 900

    900 (this color)

    #334862

    oklch(39.6% 0.052 254.2)

  11. Step 950

    950

    #1B2736

    oklch(26.9% 0.033 254.4)

Export this scale for Tailwind in the Tailwind colors tool

#334862 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)#3E49630.016
Deuteranopia (no green cones)#3844610.013
Tritanopia (no blue cones)#204E510.046
Achromatopsia (no color)#4747470.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #334862

    #334862

    oklch(39.6% 0.052 254.2)

  • #574226

    #574226

    oklch(39.5% 0.051 73.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334862

    #334862

    oklch(39.6% 0.052 254.2)

  • #244D5B

    #244D5B

    oklch(39.7% 0.051 222.8)

  • #434362

    #434362

    oklch(39.6% 0.052 283.8)

Open the analogous palette in the generator

Split complementary

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

  • #334862

    #334862

    oklch(39.6% 0.052 254.2)

  • #5E3E2F

    #5E3E2F

    oklch(39.7% 0.051 45.9)

  • #4B4826

    #4B4826

    oklch(39.6% 0.052 104.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334862

    #334862

    oklch(39.6% 0.052 254.2)

  • #5F3B3E

    #5F3B3E

    oklch(39.6% 0.051 14.2)

  • #3B4D30

    #3B4D30

    oklch(39.6% 0.052 134.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334862

    #334862

    oklch(39.6% 0.052 254.2)

  • #5B3B4D

    #5B3B4D

    oklch(39.6% 0.052 345)

  • #574226

    #574226

    oklch(39.5% 0.051 73.4)

  • #2A4F3F

    #2A4F3F

    oklch(39.5% 0.051 164.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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