#335E8B

Closest named color: Light Navy Blue (#2E5A88). oklch(47.2% 0.088 251.1), rgb(51, 94, 139).

Aa

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

About this color

#335E8B is a medium-dark, moderately saturated blue. In OKLCH its lightness is 47%, its chroma 0.088 and its hue 251°. Its hue sits on the cool side of the wheel. The nearest named color is Light Navy Blue (#2E5A88), ΔE 0.014 away. White text reads best on it, at 6.74:1.

Hue familyBlues
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.088)
Temperaturecool
Nearest nameLight Navy Blue (#2E5A88)
Black text3.11:1
White text6.74:1

Values

HEX#335E8B
RGBrgb(51, 94, 139)
HSLhsl(211, 46%, 37%)
OKLCHoklch(47.2% 0.088 251.1)

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 #335E8B 6.74:1 AA Lc -88.1 Fine for body text
Black text on #335E8B 3.11:1 AA large text Lc 21.0 Dividers and decoration only
#335E8B text on white 6.74:1 AA Lc 83.1 Fine for body text
#335E8B text on black 3.11:1 AA large text Lc -18.9 Dividers and decoration only

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 700.

  1. Step 50

    50

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E4EBF2

    oklch(93.7% 0.012 248)

  3. Step 200

    200

    #CEDBE9

    oklch(88.6% 0.024 250.1)

  4. Step 300

    300

    #ADC3DC

    oklch(80.9% 0.043 251.7)

  5. Step 400

    400

    #81A4CA

    oklch(70.7% 0.068 250.9)

  6. Step 500

    500

    #618DBD

    oklch(63.1% 0.087 251.4)

  7. Step 600

    600

    #4776A9

    oklch(55.5% 0.095 251.7)

  8. Step 700

    700 (this color)

    #335E8B

    oklch(47.2% 0.088 251.1)

  9. Step 800

    800

    #2F5175

    oklch(42.6% 0.072 251.1)

  10. Step 900

    900

    #2A435F

    oklch(37.6% 0.057 252.1)

  11. Step 950

    950

    #192837

    oklch(27.1% 0.035 249.2)

Export this scale for Tailwind in the Tailwind colors tool

#335E8B 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)#4B608D0.030
Deuteranopia (no green cones)#3F588A0.020
Tritanopia (no blue cones)#00686E0.070
Achromatopsia (no color)#5B5B5B0.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #335E8B

    #335E8B

    oklch(47.2% 0.088 251.1)

  • #7A521A

    #7A521A

    oklch(47.2% 0.088 71.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335E8B

    #335E8B

    oklch(47.2% 0.088 251.1)

  • #00667E

    #00667E

    oklch(47.3% 0.087 221.4)

  • #53558B

    #53558B

    oklch(47.2% 0.087 280.9)

Open the analogous palette in the generator

Split complementary

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

  • #335E8B

    #335E8B

    oklch(47.2% 0.088 251.1)

  • #844933

    #844933

    oklch(47.1% 0.087 41)

  • #665C17

    #665C17

    oklch(47.1% 0.087 100.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335E8B

    #335E8B

    oklch(47.2% 0.088 251.1)

  • #85454F

    #85454F

    oklch(47.2% 0.088 11.1)

  • #4A652E

    #4A652E

    oklch(47.2% 0.087 130.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335E8B

    #335E8B

    oklch(47.2% 0.088 251.1)

  • #7C476A

    #7C476A

    oklch(47.3% 0.087 341)

  • #7A521A

    #7A521A

    oklch(47.2% 0.088 71.2)

  • #236A4B

    #236A4B

    oklch(47.1% 0.087 161.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #335E8B 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.