#335F76

Closest named color: YInMn Blue (#415A77). oklch(46.4% 0.061 233), rgb(51, 95, 118).

Aa

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

About this color

#335F76 is a medium-dark, muted blue. In OKLCH its lightness is 46%, its chroma 0.061 and its hue 233°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.021 away. White text reads best on it, at 6.90:1.

Hue familyBlues
Lightnessmedium-dark (46%)
Chromamuted (0.061)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text3.03:1
White text6.90:1

Values

HEX#335F76
RGBrgb(51, 95, 118)
HSLhsl(201, 40%, 33%)
OKLCHoklch(46.4% 0.061 233)

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 #335F76 6.90:1 AA Lc -88.7 Fine for body text
Black text on #335F76 3.03:1 AA large text Lc 20.3 Dividers and decoration only
#335F76 text on white 6.90:1 AA Lc 83.8 Fine for body text
#335F76 text on black 3.03:1 AA large text Lc -18.2 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

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E4EBEF

    oklch(93.6% 0.009 232.4)

  3. Step 200

    200

    #CFDBE2

    oklch(88.4% 0.016 233)

  4. Step 300

    300

    #AFC4D1

    oklch(80.9% 0.029 234.9)

  5. Step 400

    400

    #84A6BA

    oklch(70.7% 0.047 234.1)

  6. Step 500

    500

    #6490A9

    oklch(63.1% 0.061 233.9)

  7. Step 600

    600

    #4A7A94

    oklch(55.6% 0.066 233.4)

  8. Step 700

    700 (this color)

    #335F76

    oklch(46.4% 0.061 233)

  9. Step 800

    800

    #315466

    oklch(42.7% 0.05 232)

  10. Step 900

    900

    #2C4553

    oklch(37.6% 0.039 233.8)

  11. Step 950

    950

    #1A2931

    oklch(27.1% 0.025 232.2)

Export this scale for Tailwind in the Tailwind colors tool

#335F76 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)#545E770.041
Deuteranopia (no green cones)#4A57760.035
Tritanopia (no blue cones)#0165670.046
Achromatopsia (no color)#5A5A5A0.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #335F76

    #335F76

    oklch(46.4% 0.061 233)

  • #744F38

    #744F38

    oklch(46.2% 0.061 52.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335F76

    #335F76

    oklch(46.4% 0.061 233)

  • #286368

    #286368

    oklch(46.3% 0.061 202.9)

  • #47597C

    #47597C

    oklch(46.4% 0.062 263.2)

Open the analogous palette in the generator

Split complementary

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

  • #335F76

    #335F76

    oklch(46.4% 0.061 233)

  • #784B49

    #784B49

    oklch(46.4% 0.062 22.5)

  • #6A562F

    #6A562F

    oklch(46.4% 0.062 82.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335F76

    #335F76

    oklch(46.4% 0.061 233)

  • #744B5C

    #744B5C

    oklch(46.4% 0.06 353.2)

  • #595D33

    #595D33

    oklch(46.4% 0.062 113.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335F76

    #335F76

    oklch(46.4% 0.061 233)

  • #6A4D6D

    #6A4D6D

    oklch(46.3% 0.062 323.3)

  • #744F38

    #744F38

    oklch(46.2% 0.061 52.5)

  • #446242

    #446242

    oklch(46.3% 0.062 143)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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