#335A7F

Closest named color: Light Navy Blue (#2E5A88). oklch(45.6% 0.075 248.6), rgb(51, 90, 127).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.075)
Temperaturecool
Nearest nameLight Navy Blue (#2E5A88)
Black text2.90:1
White text7.21:1

Values

HEX#335A7F
RGBrgb(51, 90, 127)
HSLhsl(209, 43%, 35%)
OKLCHoklch(45.6% 0.075 248.6)

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 #335A7F 7.21:1 AAA Lc -89.8 Fine for body text
Black text on #335A7F 2.90:1 Fails Lc 19.1 Dividers and decoration only
#335A7F text on white 7.21:1 AAA Lc 84.9 Fine for body text
#335A7F text on black 2.90:1 Fails Lc -17.1 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 800.

  1. Step 50

    50

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E4EBF2

    oklch(93.7% 0.012 248)

  3. Step 200

    200

    #CDDBE9

    oklch(88.5% 0.025 248.1)

  4. Step 300

    300

    #ABC4DC

    oklch(80.9% 0.044 247.3)

  5. Step 400

    400

    #7EA5CB

    oklch(70.7% 0.07 248.2)

  6. Step 500

    500

    #5C8EBE

    oklch(63.1% 0.091 248.5)

  7. Step 600

    600

    #4177AA

    oklch(55.5% 0.098 248.8)

  8. Step 700

    700

    #336492

    oklch(49.1% 0.091 248.8)

  9. Step 800

    800 (this color)

    #335A7F

    oklch(45.6% 0.075 248.6)

  10. Step 900

    900

    #27445F

    oklch(37.7% 0.058 248)

  11. Step 950

    950

    #172838

    oklch(27% 0.038 247.9)

Export this scale for Tailwind in the Tailwind colors tool

#335A7F 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)#4A5B810.029
Deuteranopia (no green cones)#40547E0.022
Tritanopia (no blue cones)#0063670.063
Achromatopsia (no color)#5757570.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #335A7F

    #335A7F

    oklch(45.6% 0.075 248.6)

  • #724E24

    #724E24

    oklch(45.5% 0.075 68)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335A7F

    #335A7F

    oklch(45.6% 0.075 248.6)

  • #156173

    #156173

    oklch(45.7% 0.075 218)

  • #4E5280

    #4E5280

    oklch(45.6% 0.075 279.2)

Open the analogous palette in the generator

Split complementary

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

  • #335A7F

    #335A7F

    oklch(45.6% 0.075 248.6)

  • #7B4737

    #7B4737

    oklch(45.6% 0.076 37.9)

  • #625720

    #625720

    oklch(45.6% 0.075 98)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335A7F

    #335A7F

    oklch(45.6% 0.075 248.6)

  • #7A444E

    #7A444E

    oklch(45.5% 0.075 8.6)

  • #4A5F30

    #4A5F30

    oklch(45.6% 0.075 128.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335A7F

    #335A7F

    oklch(45.6% 0.075 248.6)

  • #724665

    #724665

    oklch(45.6% 0.075 338.5)

  • #724E24

    #724E24

    oklch(45.5% 0.075 68)

  • #2D6447

    #2D6447

    oklch(45.7% 0.076 158.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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