#335276

Closest named color: YInMn Blue (#415A77). oklch(43.1% 0.071 253), rgb(51, 82, 118).

Aa

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

About this color

#335276 is a dark, moderately saturated blue. In OKLCH its lightness is 43%, its chroma 0.071 and its hue 253°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.032 away. White text reads best on it, at 8.04:1.

Hue familyBlues
Lightnessdark (43%)
Chromamoderately saturated (0.071)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text2.60:1
White text8.04:1

Values

HEX#335276
RGBrgb(51, 82, 118)
HSLhsl(212, 40%, 33%)
OKLCHoklch(43.1% 0.071 253)

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 #335276 8.04:1 AAA Lc -92.4 Preferred for body text
Black text on #335276 2.60:1 Fails Lc 16.2 Dividers and decoration only
#335276 text on white 8.04:1 AAA Lc 87.8 Fine for body text
#335276 text on black 2.60:1 Fails Lc -14.4 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

    #CFDAE8

    oklch(88.4% 0.023 254.4)

  4. Step 300

    300

    #AEC3DB

    oklch(80.9% 0.041 251.8)

  5. Step 400

    400

    #84A3C9

    oklch(70.6% 0.066 253.8)

  6. Step 500

    500

    #648CBC

    oklch(63% 0.085 253.5)

  7. Step 600

    600

    #4B76A8

    oklch(55.6% 0.092 253.1)

  8. Step 700

    700

    #3C6390

    oklch(49.1% 0.085 253)

  9. Step 800

    800 (this color)

    #335276

    oklch(43.1% 0.071 253)

  10. Step 900

    900

    #2C435E

    oklch(37.7% 0.055 253.1)

  11. Step 950

    950

    #1A2737

    oklch(26.9% 0.035 254.1)

Export this scale for Tailwind in the Tailwind colors tool

#335276 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)#4354780.022
Deuteranopia (no green cones)#3B4D750.017
Tritanopia (no blue cones)#095A5F0.061
Achromatopsia (no color)#5050500.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #335276

    #335276

    oklch(43.1% 0.071 253)

  • #684A20

    #684A20

    oklch(43.3% 0.071 73.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335276

    #335276

    oklch(43.1% 0.071 253)

  • #18586C

    #18586C

    oklch(43% 0.07 223.2)

  • #4B4B76

    #4B4B76

    oklch(43.2% 0.07 283.1)

Open the analogous palette in the generator

Split complementary

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

  • #335276

    #335276

    oklch(43.1% 0.071 253)

  • #704330

    #704330

    oklch(43.1% 0.069 43.4)

  • #57521F

    #57521F

    oklch(43.2% 0.071 103.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335276

    #335276

    oklch(43.1% 0.071 253)

  • #723F45

    #723F45

    oklch(43.2% 0.071 13)

  • #41582F

    #41582F

    oklch(43% 0.069 132.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335276

    #335276

    oklch(43.1% 0.071 253)

  • #6B405A

    #6B405A

    oklch(43.1% 0.07 343.4)

  • #684A20

    #684A20

    oklch(43.3% 0.071 73.1)

  • #255C45

    #255C45

    oklch(43.1% 0.07 163.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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