#335177

Closest named color: Light Navy (#155084). oklch(42.9% 0.073 254.9), rgb(51, 81, 119).

Aa

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

About this color

#335177 is a dark, moderately saturated blue. In OKLCH its lightness is 43%, its chroma 0.073 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Light Navy (#155084), ΔE 0.033 away. White text reads best on it, at 8.12:1.

Hue familyBlues
Lightnessdark (43%)
Chromamoderately saturated (0.073)
Temperaturecool
Nearest nameLight Navy (#155084)
Black text2.58:1
White text8.12:1

Values

HEX#335177
RGBrgb(51, 81, 119)
HSLhsl(214, 40%, 33%)
OKLCHoklch(42.9% 0.073 254.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 #335177 8.12:1 AAA Lc -92.7 Preferred for body text
Black text on #335177 2.58:1 Fails Lc 16.0 Dividers and decoration only
#335177 text on white 8.12:1 AAA Lc 88.0 Fine for body text
#335177 text on black 2.58:1 Fails Lc -14.1 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

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E4EAF2

    oklch(93.5% 0.013 255.5)

  3. Step 200

    200

    #CFDAE9

    oklch(88.5% 0.024 256.1)

  4. Step 300

    300

    #AFC3DC

    oklch(81% 0.042 254.1)

  5. Step 400

    400

    #84A3CB

    oklch(70.7% 0.068 255)

  6. Step 500

    500

    #658CBE

    oklch(63.2% 0.087 255)

  7. Step 600

    600

    #4C75AA

    oklch(55.6% 0.095 255.3)

  8. Step 700

    700

    #3D6292

    oklch(49.1% 0.088 255.5)

  9. Step 800

    800 (this color)

    #335177

    oklch(42.9% 0.073 254.9)

  10. Step 900

    900

    #2C435F

    oklch(37.7% 0.056 253.9)

  11. Step 950

    950

    #1A2738

    oklch(26.9% 0.037 255.4)

Export this scale for Tailwind in the Tailwind colors tool

#335177 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)#4253790.021
Deuteranopia (no green cones)#394D760.013
Tritanopia (no blue cones)#075A5E0.066
Achromatopsia (no color)#5050500.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #335177

    #335177

    oklch(42.9% 0.073 254.9)

  • #67491C

    #67491C

    oklch(42.9% 0.073 74.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335177

    #335177

    oklch(42.9% 0.073 254.9)

  • #15586E

    #15586E

    oklch(43.1% 0.073 224.9)

  • #4B4A76

    #4B4A76

    oklch(43% 0.072 284)

Open the analogous palette in the generator

Split complementary

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

  • #335177

    #335177

    oklch(42.9% 0.073 254.9)

  • #71422D

    #71422D

    oklch(43% 0.073 44.4)

  • #56521D

    #56521D

    oklch(43.1% 0.073 105)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335177

    #335177

    oklch(42.9% 0.073 254.9)

  • #723E43

    #723E43

    oklch(42.9% 0.073 14.5)

  • #3E592E

    #3E592E

    oklch(43.1% 0.074 134.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335177

    #335177

    oklch(42.9% 0.073 254.9)

  • #6C3F59

    #6C3F59

    oklch(43% 0.072 344.9)

  • #67491C

    #67491C

    oklch(42.9% 0.073 74.4)

  • #205C45

    #205C45

    oklch(42.9% 0.073 164.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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