#335371

Closest named color: YInMn Blue (#415A77). oklch(43.1% 0.063 247.9), rgb(51, 83, 113).

Aa

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

About this color

#335371 is a dark, muted blue. In OKLCH its lightness is 43%, its chroma 0.063 and its hue 248°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.030 away. White text reads best on it, at 8.02:1.

Hue familyBlues
Lightnessdark (43%)
Chromamuted (0.063)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text2.61:1
White text8.02:1

Values

HEX#335371
RGBrgb(51, 83, 113)
HSLhsl(209, 38%, 32%)
OKLCHoklch(43.1% 0.063 247.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 #335371 8.02:1 AAA Lc -92.4 Preferred for body text
Black text on #335371 2.61:1 Fails Lc 16.3 Dividers and decoration only
#335371 text on white 8.02:1 AAA Lc 87.7 Fine for body text
#335371 text on black 2.61: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

    #E4EBF1

    oklch(93.6% 0.011 243.7)

  3. Step 200

    200

    #CFDBE6

    oklch(88.6% 0.02 245.7)

  4. Step 300

    300

    #AFC3D8

    oklch(80.9% 0.037 249.6)

  5. Step 400

    400

    #84A4C4

    oklch(70.6% 0.059 248.7)

  6. Step 500

    500

    #658EB5

    oklch(63.2% 0.074 247.8)

  7. Step 600

    600

    #4B77A1

    oklch(55.5% 0.082 248.4)

  8. Step 700

    700

    #3C648A

    oklch(49.1% 0.076 248.4)

  9. Step 800

    800 (this color)

    #335371

    oklch(43.1% 0.063 247.9)

  10. Step 900

    900

    #2C445A

    oklch(37.7% 0.048 247.1)

  11. Step 950

    950

    #1A2835

    oklch(27% 0.031 247.2)

Export this scale for Tailwind in the Tailwind colors tool

#335371 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)#4754720.027
Deuteranopia (no green cones)#3F4E700.020
Tritanopia (no blue cones)#115A5D0.054
Achromatopsia (no color)#5050500.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #335371

    #335371

    oklch(43.1% 0.063 247.9)

  • #674928

    #674928

    oklch(43.1% 0.063 67.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335371

    #335371

    oklch(43.1% 0.063 247.9)

  • #205867

    #205867

    oklch(43% 0.063 218.6)

  • #484D72

    #484D72

    oklch(43.2% 0.061 277.6)

Open the analogous palette in the generator

Split complementary

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

  • #335371

    #335371

    oklch(43.1% 0.063 247.9)

  • #6E4437

    #6E4437

    oklch(43.2% 0.062 38)

  • #595025

    #595025

    oklch(43% 0.063 97.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335371

    #335371

    oklch(43.1% 0.063 247.9)

  • #6E4149

    #6E4149

    oklch(43.1% 0.063 8.5)

  • #465730

    #465730

    oklch(43.2% 0.064 128)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335371

    #335371

    oklch(43.1% 0.063 247.9)

  • #67425C

    #67425C

    oklch(43.1% 0.064 338.3)

  • #674928

    #674928

    oklch(43.1% 0.063 67.4)

  • #305B43

    #305B43

    oklch(43.2% 0.063 157.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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