#334B7C

Closest named color: Light Navy (#155084). oklch(41.8% 0.087 263.4), rgb(51, 75, 124).

Aa

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

About this color

#334B7C is a dark, moderately saturated blue. In OKLCH its lightness is 42%, its chroma 0.087 and its hue 263°. Its hue sits on the cool side of the wheel. The nearest named color is Light Navy (#155084), ΔE 0.029 away. White text reads best on it, at 8.61:1.

Hue familyBlues
Lightnessdark (42%)
Chromamoderately saturated (0.087)
Temperaturecool
Nearest nameLight Navy (#155084)
Black text2.43:1
White text8.61:1

Values

HEX#334B7C
RGBrgb(51, 75, 124)
HSLhsl(220, 42%, 34%)
OKLCHoklch(41.8% 0.087 263.4)

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 #334B7C 8.61:1 AAA Lc -94.0 Preferred for body text
Black text on #334B7C 2.43:1 Fails Lc 14.5 Not readable
#334B7C text on white 8.61:1 AAA Lc 89.4 Fine for body text
#334B7C text on black 2.43:1 Fails Lc -12.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 800.

  1. Step 50

    50

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E5EAF4

    oklch(93.6% 0.015 264.5)

  3. Step 200

    200

    #CFDAED

    oklch(88.6% 0.029 261.5)

  4. Step 300

    300

    #B0C1E2

    oklch(80.9% 0.05 263.7)

  5. Step 400

    400

    #86A1D4

    oklch(70.8% 0.081 262.8)

  6. Step 500

    500

    #6888C9

    oklch(63% 0.105 263.7)

  7. Step 600

    600

    #5071B6

    oklch(55.6% 0.114 263.7)

  8. Step 700

    700

    #415F9C

    oklch(49.2% 0.104 263.3)

  9. Step 800

    800 (this color)

    #334B7C

    oklch(41.8% 0.087 263.4)

  10. Step 900

    900

    #2E4166

    oklch(37.7% 0.068 262.8)

  11. Step 950

    950

    #1B263C

    oklch(27% 0.044 263.4)

Export this scale for Tailwind in the Tailwind colors tool

#334B7C 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)#374F7E0.014
Deuteranopia (no green cones)#2D497B0.010
Tritanopia (no blue cones)#00565D0.079
Achromatopsia (no color)#4C4C4C0.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #334B7C

    #334B7C

    oklch(41.8% 0.087 263.4)

  • #634700

    #634700

    oklch(41.7% 0.086 82.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334B7C

    #334B7C

    oklch(41.8% 0.087 263.4)

  • #005374

    #005374

    oklch(41.7% 0.087 233.9)

  • #4F4277

    #4F4277

    oklch(41.7% 0.087 293.6)

Open the analogous palette in the generator

Split complementary

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

  • #334B7C

    #334B7C

    oklch(41.8% 0.087 263.4)

  • #713D18

    #713D18

    oklch(41.8% 0.088 52.8)

  • #4D510B

    #4D510B

    oklch(41.8% 0.087 113)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334B7C

    #334B7C

    oklch(41.8% 0.087 263.4)

  • #753735

    #753735

    oklch(41.8% 0.088 23.5)

  • #2C582B

    #2C582B

    oklch(41.6% 0.087 143.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334B7C

    #334B7C

    oklch(41.8% 0.087 263.4)

  • #703750

    #703750

    oklch(41.9% 0.086 353.8)

  • #634700

    #634700

    oklch(41.7% 0.086 82.7)

  • #005A49

    #005A49

    oklch(41.7% 0.079 174.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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