#334874

Closest named color: Light Navy (#155084). oklch(40.6% 0.079 263.9), rgb(51, 72, 116).

Aa

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

About this color

#334874 is a dark, moderately saturated blue. In OKLCH its lightness is 41%, its chroma 0.079 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Light Navy (#155084), ΔE 0.038 away. White text reads best on it, at 9.05:1.

Hue familyBlues
Lightnessdark (41%)
Chromamoderately saturated (0.079)
Temperaturecool
Nearest nameLight Navy (#155084)
Black text2.31:1
White text9.05:1

Values

HEX#334874
RGBrgb(51, 72, 116)
HSLhsl(221, 39%, 33%)
OKLCHoklch(40.6% 0.079 263.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 #334874 9.05:1 AAA Lc -95.1 Preferred for body text
Black text on #334874 2.31:1 Fails Lc 13.3 Not readable
#334874 text on white 9.05:1 AAA Lc 90.7 Preferred for body text
#334874 text on black 2.31:1 Fails Lc -11.6 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

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E5EAF3

    oklch(93.6% 0.013 262.4)

  3. Step 200

    200

    #D1D9EB

    oklch(88.5% 0.026 266.6)

  4. Step 300

    300

    #B2C1DF

    oklch(80.9% 0.046 264.3)

  5. Step 400

    400

    #89A1CF

    oklch(70.8% 0.073 263.2)

  6. Step 500

    500

    #6C89C3

    oklch(63.2% 0.094 263.6)

  7. Step 600

    600

    #5472AF

    oklch(55.6% 0.102 263.5)

  8. Step 700

    700

    #445F97

    oklch(49.1% 0.096 263.7)

  9. Step 800

    800 (this color)

    #334874

    oklch(40.6% 0.079 263.9)

  10. Step 900

    900

    #314162

    oklch(37.7% 0.061 264)

  11. Step 950

    950

    #1D263A

    oklch(27% 0.04 265.3)

Export this scale for Tailwind in the Tailwind colors tool

#334874 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)#364C760.013
Deuteranopia (no green cones)#2F46730.008
Tritanopia (no blue cones)#1052580.072
Achromatopsia (no color)#4949490.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #334874

    #334874

    oklch(40.6% 0.079 263.9)

  • #5D4508

    #5D4508

    oklch(40.6% 0.079 84.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334874

    #334874

    oklch(40.6% 0.079 263.9)

  • #0D506D

    #0D506D

    oklch(40.7% 0.079 233.2)

  • #4C4070

    #4C4070

    oklch(40.6% 0.08 294.1)

Open the analogous palette in the generator

Split complementary

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

  • #334874

    #334874

    oklch(40.6% 0.079 263.9)

  • #6A3C1C

    #6A3C1C

    oklch(40.6% 0.079 53.2)

  • #494E14

    #494E14

    oklch(40.7% 0.079 114.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334874

    #334874

    oklch(40.6% 0.079 263.9)

  • #6E3734

    #6E3734

    oklch(40.7% 0.079 24.4)

  • #2D542C

    #2D542C

    oklch(40.6% 0.079 143.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334874

    #334874

    oklch(40.6% 0.079 263.9)

  • #6A364C

    #6A364C

    oklch(40.7% 0.079 354.4)

  • #5D4508

    #5D4508

    oklch(40.6% 0.079 84.5)

  • #005746

    #005746

    oklch(40.7% 0.078 173.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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