#334856

Closest named color: Dark Grey Blue (#29465B). oklch(39% 0.035 238), rgb(51, 72, 86).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (39%)
Chromamuted (0.035)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.20:1
White text9.53:1

Values

HEX#334856
RGBrgb(51, 72, 86)
HSLhsl(204, 26%, 27%)
OKLCHoklch(39% 0.035 238)

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 #334856 9.53:1 AAA Lc -96.3 Preferred for body text
Black text on #334856 2.20:1 Fails Lc 11.9 Not readable
#334856 text on white 9.53:1 AAA Lc 92.0 Preferred for body text
#334856 text on black 2.20:1 Fails Lc -10.4 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

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E5EBEE

    oklch(93.6% 0.008 228.9)

  3. Step 200

    200

    #D1DBE2

    oklch(88.6% 0.015 238)

  4. Step 300

    300

    #B1C4D0

    oklch(81% 0.027 235.4)

  5. Step 400

    400

    #89A5B8

    oklch(70.7% 0.042 237.9)

  6. Step 500

    500

    #6B8FA7

    oklch(63.2% 0.054 237.9)

  7. Step 600

    600

    #527992

    oklch(55.7% 0.059 237.4)

  8. Step 700

    700

    #42657C

    oklch(49% 0.055 238.2)

  9. Step 800

    800

    #375365

    oklch(42.8% 0.045 237.4)

  10. Step 900

    900 (this color)

    #334856

    oklch(39% 0.035 238)

  11. Step 950

    950

    #1C2830

    oklch(26.9% 0.022 237.9)

Export this scale for Tailwind in the Tailwind colors tool

#334856 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)#4248570.022
Deuteranopia (no green cones)#3D44560.018
Tritanopia (no blue cones)#274C4D0.028
Achromatopsia (no color)#4545450.035

Harmonies

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

Complementary

The opposite hue (180°).

  • #334856

    #334856

    oklch(39% 0.035 238)

  • #544032

    #544032

    oklch(38.9% 0.036 56.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334856

    #334856

    oklch(39% 0.035 238)

  • #2E4B4F

    #2E4B4F

    oklch(39.2% 0.035 206.8)

  • #3D4558

    #3D4558

    oklch(39.1% 0.034 267)

Open the analogous palette in the generator

Split complementary

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

  • #334856

    #334856

    oklch(39% 0.035 238)

  • #573E3A

    #573E3A

    oklch(39% 0.036 29.1)

  • #4D442F

    #4D442F

    oklch(39% 0.035 87.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334856

    #334856

    oklch(39% 0.035 238)

  • #553D45

    #553D45

    oklch(38.9% 0.036 357.1)

  • #434832

    #434832

    oklch(39% 0.036 118.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334856

    #334856

    oklch(39% 0.035 238)

  • #503E4F

    #503E4F

    oklch(39% 0.037 328.1)

  • #544032

    #544032

    oklch(38.9% 0.036 56.4)

  • #384A3A

    #384A3A

    oklch(38.9% 0.035 147.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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