#335A8F

Closest named color: Denim Blue (#3B5B92). oklch(46.5% 0.097 256.5), rgb(51, 90, 143).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.097)
Temperaturecool
Nearest nameDenim Blue (#3B5B92)
Black text2.99:1
White text7.00:1

Values

HEX#335A8F
RGBrgb(51, 90, 143)
HSLhsl(215, 47%, 38%)
OKLCHoklch(46.5% 0.097 256.5)

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 #335A8F 7.00:1 AAA Lc -89.0 Fine for body text
Black text on #335A8F 2.99:1 Fails Lc 20.0 Dividers and decoration only
#335A8F text on white 7.00:1 AAA Lc 84.0 Fine for body text
#335A8F text on black 2.99:1 Fails Lc -17.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

    #ADC2DF

    oklch(80.8% 0.047 256.5)

  5. Step 400

    400

    #82A3D0

    oklch(70.8% 0.076 256.3)

  6. Step 500

    500

    #628BC3

    oklch(63% 0.096 256.4)

  7. Step 600

    600

    #4974B0

    oklch(55.5% 0.106 256.9)

  8. Step 700

    700 (this color)

    #335A8F

    oklch(46.5% 0.097 256.5)

  9. Step 800

    800

    #30507B

    oklch(42.8% 0.081 256.2)

  10. Step 900

    900

    #2B4263

    oklch(37.6% 0.064 257.4)

  11. Step 950

    950

    #19273A

    oklch(27% 0.041 256.3)

Export this scale for Tailwind in the Tailwind colors tool

#335A8F 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)#435E910.023
Deuteranopia (no green cones)#36558E0.014
Tritanopia (no blue cones)#00666D0.081
Achromatopsia (no color)#5959590.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #335A8F

    #335A8F

    oklch(46.5% 0.097 256.5)

  • #785100

    #785100

    oklch(46.6% 0.098 76.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335A8F

    #335A8F

    oklch(46.5% 0.097 256.5)

  • #006380

    #006380

    oklch(46.6% 0.09 226.6)

  • #56508D

    #56508D

    oklch(46.6% 0.097 286.5)

Open the analogous palette in the generator

Split complementary

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

  • #335A8F

    #335A8F

    oklch(46.5% 0.097 256.5)

  • #854625

    #854625

    oklch(46.5% 0.098 46.7)

  • #605C05

    #605C05

    oklch(46.4% 0.097 106.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335A8F

    #335A8F

    oklch(46.5% 0.097 256.5)

  • #874046

    #874046

    oklch(46.4% 0.097 16.4)

  • #3E662B

    #3E662B

    oklch(46.6% 0.099 136.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335A8F

    #335A8F

    oklch(46.5% 0.097 256.5)

  • #804164

    #804164

    oklch(46.6% 0.097 347.1)

  • #785100

    #785100

    oklch(46.6% 0.098 76.8)

  • #006A4D

    #006A4D

    oklch(46.5% 0.096 166.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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