#335C90

Closest named color: Denim Blue (#3B5B92). oklch(47% 0.097 255.2), rgb(51, 92, 144).

Aa

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

About this color

#335C90 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.83:1.

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

Values

HEX#335C90
RGBrgb(51, 92, 144)
HSLhsl(214, 48%, 38%)
OKLCHoklch(47% 0.097 255.2)

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 #335C90 6.83:1 AA Lc -88.4 Fine for body text
Black text on #335C90 3.07:1 AA large text Lc 20.7 Dividers and decoration only
#335C90 text on white 6.83:1 AA Lc 83.4 Fine for body text
#335C90 text on black 3.07:1 AA large text Lc -18.6 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)

    #335C90

    oklch(47% 0.097 255.2)

  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

#335C90 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)#465F920.025
Deuteranopia (no green cones)#39578F0.015
Tritanopia (no blue cones)#00686F0.079
Achromatopsia (no color)#5B5B5B0.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #335C90

    #335C90

    oklch(47% 0.097 255.2)

  • #7A5206

    #7A5206

    oklch(47.1% 0.097 75.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335C90

    #335C90

    oklch(47% 0.097 255.2)

  • #006581

    #006581

    oklch(47.2% 0.09 225.2)

  • #56528F

    #56528F

    oklch(47.1% 0.097 285)

Open the analogous palette in the generator

Split complementary

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

  • #335C90

    #335C90

    oklch(47% 0.097 255.2)

  • #874729

    #874729

    oklch(47.1% 0.097 44.7)

  • #635D08

    #635D08

    oklch(46.9% 0.096 105)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335C90

    #335C90

    oklch(47% 0.097 255.2)

  • #894249

    #894249

    oklch(47.1% 0.097 15.4)

  • #42672C

    #42672C

    oklch(47.1% 0.097 135.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335C90

    #335C90

    oklch(47% 0.097 255.2)

  • #804367

    #804367

    oklch(47% 0.096 345.1)

  • #7A5206

    #7A5206

    oklch(47.1% 0.097 75.5)

  • #066C4D

    #066C4D

    oklch(47.1% 0.098 164.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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