#335D91

Closest named color: Denim Blue (#3B5B92). oklch(47.3% 0.097 254.8), rgb(51, 93, 145).

Aa

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

About this color

#335D91 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 47%, its chroma 0.097 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Denim Blue (#3B5B92), ΔE 0.010 away. White text reads best on it, at 6.74:1.

Hue familyBlues
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.097)
Temperaturecool
Nearest nameDenim Blue (#3B5B92)
Black text3.11:1
White text6.74:1

Values

HEX#335D91
RGBrgb(51, 93, 145)
HSLhsl(213, 48%, 38%)
OKLCHoklch(47.3% 0.097 254.8)

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 #335D91 6.74:1 AA Lc -88.1 Fine for body text
Black text on #335D91 3.11:1 AA large text Lc 21.0 Dividers and decoration only
#335D91 text on white 6.74:1 AA Lc 83.0 Fine for body text
#335D91 text on black 3.11:1 AA large text Lc -18.9 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

    #F3F6FA

    oklch(97.2% 0.006 255.5)

  2. Step 100

    100

    #E4EAF3

    oklch(93.5% 0.014 258.3)

  3. Step 200

    200

    #CEDAEB

    oklch(88.4% 0.027 257)

  4. Step 300

    300

    #ADC3DF

    oklch(81% 0.046 254.5)

  5. Step 400

    400

    #81A3CF

    oklch(70.7% 0.075 255.1)

  6. Step 500

    500

    #618CC3

    oklch(63.2% 0.096 255)

  7. Step 600

    600

    #4775AF

    oklch(55.6% 0.104 255)

  8. Step 700

    700 (this color)

    #335D91

    oklch(47.3% 0.097 254.8)

  9. Step 800

    800

    #2F507A

    oklch(42.6% 0.08 255.1)

  10. Step 900

    900

    #2A4362

    oklch(37.8% 0.062 254.4)

  11. Step 950

    950

    #19273A

    oklch(27% 0.041 256.3)

Export this scale for Tailwind in the Tailwind colors tool

#335D91 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)#4760930.026
Deuteranopia (no green cones)#3A57900.018
Tritanopia (no blue cones)#0069700.079
Achromatopsia (no color)#5B5B5B0.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #335D91

    #335D91

    oklch(47.3% 0.097 254.8)

  • #7B5207

    #7B5207

    oklch(47.2% 0.097 74.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335D91

    #335D91

    oklch(47.3% 0.097 254.8)

  • #006681

    #006681

    oklch(47.4% 0.089 224.1)

  • #565390

    #565390

    oklch(47.4% 0.097 284.3)

Open the analogous palette in the generator

Split complementary

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

  • #335D91

    #335D91

    oklch(47.3% 0.097 254.8)

  • #88482A

    #88482A

    oklch(47.4% 0.097 44.7)

  • #645E08

    #645E08

    oklch(47.3% 0.097 105.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335D91

    #335D91

    oklch(47.3% 0.097 254.8)

  • #8A424A

    #8A424A

    oklch(47.3% 0.098 14.6)

  • #43672C

    #43672C

    oklch(47.2% 0.096 134.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335D91

    #335D91

    oklch(47.3% 0.097 254.8)

  • #814468

    #814468

    oklch(47.3% 0.096 345)

  • #7B5207

    #7B5207

    oklch(47.2% 0.097 74.6)

  • #096C4E

    #096C4E

    oklch(47.2% 0.096 165.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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