#334758

Closest named color: Dark Grey Blue (#29465B). oklch(38.8% 0.038 244.7), rgb(51, 71, 88).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (39%)
Chromamuted (0.038)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.18:1
White text9.61:1

Values

HEX#334758
RGBrgb(51, 71, 88)
HSLhsl(208, 27%, 27%)
OKLCHoklch(38.8% 0.038 244.7)

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 #334758 9.61:1 AAA Lc -96.5 Preferred for body text
Black text on #334758 2.18:1 Fails Lc 11.7 Not readable
#334758 text on white 9.61:1 AAA Lc 92.3 Preferred for body text
#334758 text on black 2.18:1 Fails Lc -10.2 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

    #E5EBEF

    oklch(93.7% 0.008 236.6)

  3. Step 200

    200

    #D1DBE3

    oklch(88.6% 0.015 241.8)

  4. Step 300

    300

    #B2C3D2

    oklch(80.9% 0.028 244.8)

  5. Step 400

    400

    #89A4BC

    oklch(70.6% 0.046 245.3)

  6. Step 500

    500

    #6B8EAB

    oklch(63.1% 0.059 243.9)

  7. Step 600

    600

    #537897

    oklch(55.7% 0.064 244.6)

  8. Step 700

    700

    #436480

    oklch(49% 0.059 245)

  9. Step 800

    800

    #375268

    oklch(42.7% 0.049 243.9)

  10. Step 900

    900 (this color)

    #334758

    oklch(38.8% 0.038 244.7)

  11. Step 950

    950

    #1C2832

    oklch(27% 0.025 244)

Export this scale for Tailwind in the Tailwind colors tool

#334758 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)#4047590.019
Deuteranopia (no green cones)#3B43580.016
Tritanopia (no blue cones)#264B4D0.031
Achromatopsia (no color)#4545450.038

Harmonies

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

Complementary

The opposite hue (180°).

  • #334758

    #334758

    oklch(38.8% 0.038 244.7)

  • #53402F

    #53402F

    oklch(38.7% 0.038 63.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334758

    #334758

    oklch(38.8% 0.038 244.7)

  • #2B4A51

    #2B4A51

    oklch(38.8% 0.039 213.7)

  • #3E4359

    #3E4359

    oklch(38.8% 0.038 274.6)

Open the analogous palette in the generator

Split complementary

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

  • #334758

    #334758

    oklch(38.8% 0.038 244.7)

  • #573D37

    #573D37

    oklch(38.7% 0.038 33.4)

  • #4B452D

    #4B452D

    oklch(39% 0.038 95.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334758

    #334758

    oklch(38.8% 0.038 244.7)

  • #573C42

    #573C42

    oklch(38.9% 0.039 4.4)

  • #404832

    #404832

    oklch(38.8% 0.037 124.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334758

    #334758

    oklch(38.8% 0.038 244.7)

  • #523D4D

    #523D4D

    oklch(38.9% 0.039 335)

  • #53402F

    #53402F

    oklch(38.7% 0.038 63.2)

  • #344B3B

    #344B3B

    oklch(38.9% 0.039 153.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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