#335C7B

Closest named color: YInMn Blue (#415A77). oklch(45.9% 0.069 242.9), rgb(51, 92, 123).

Aa

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

About this color

#335C7B is a medium-dark, muted blue. In OKLCH its lightness is 46%, its chroma 0.069 and its hue 243°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.016 away. White text reads best on it, at 7.10:1.

Hue familyBlues
Lightnessmedium-dark (46%)
Chromamuted (0.069)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text2.95:1
White text7.10:1

Values

HEX#335C7B
RGBrgb(51, 92, 123)
HSLhsl(206, 41%, 34%)
OKLCHoklch(45.9% 0.069 242.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 #335C7B 7.10:1 AAA Lc -89.4 Fine for body text
Black text on #335C7B 2.95:1 Fails Lc 19.5 Dividers and decoration only
#335C7B text on white 7.10:1 AAA Lc 84.5 Fine for body text
#335C7B text on black 2.95:1 Fails Lc -17.5 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 800.

  1. Step 50

    50

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E3EBF1

    oklch(93.6% 0.012 239.9)

  3. Step 200

    200

    #CDDBE7

    oklch(88.4% 0.022 243.8)

  4. Step 300

    300

    #ABC4D9

    oklch(80.8% 0.04 243.6)

  5. Step 400

    400

    #7EA6C6

    oklch(70.8% 0.064 242.9)

  6. Step 500

    500

    #5C8FB7

    oklch(63% 0.082 243.2)

  7. Step 600

    600

    #4079A3

    oklch(55.6% 0.089 242.6)

  8. Step 700

    700

    #32668C

    oklch(49.2% 0.083 242.7)

  9. Step 800

    800 (this color)

    #335C7B

    oklch(45.9% 0.069 242.9)

  10. Step 900

    900

    #27455C

    oklch(37.8% 0.053 243)

  11. Step 950

    950

    #172836

    oklch(26.9% 0.035 244.4)

Export this scale for Tailwind in the Tailwind colors tool

#335C7B 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)#4E5C7C0.033
Deuteranopia (no green cones)#45557A0.028
Tritanopia (no blue cones)#0064670.056
Achromatopsia (no color)#5858580.069

Harmonies

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

Complementary

The opposite hue (180°).

  • #335C7B

    #335C7B

    oklch(45.9% 0.069 242.9)

  • #734F2D

    #734F2D

    oklch(45.9% 0.069 63.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335C7B

    #335C7B

    oklch(45.9% 0.069 242.9)

  • #1E626E

    #1E626E

    oklch(46% 0.069 211.7)

  • #4B557E

    #4B557E

    oklch(45.9% 0.068 273)

Open the analogous palette in the generator

Split complementary

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

  • #335C7B

    #335C7B

    oklch(45.9% 0.069 242.9)

  • #79493F

    #79493F

    oklch(45.9% 0.068 32.5)

  • #655727

    #655727

    oklch(46% 0.069 93.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335C7B

    #335C7B

    oklch(45.9% 0.069 242.9)

  • #784754

    #784754

    oklch(45.9% 0.069 3)

  • #505E31

    #505E31

    oklch(45.8% 0.069 123.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335C7B

    #335C7B

    oklch(45.9% 0.069 242.9)

  • #6F4968

    #6F4968

    oklch(45.9% 0.069 333.4)

  • #734F2D

    #734F2D

    oklch(45.9% 0.069 63.1)

  • #386345

    #386345

    oklch(45.9% 0.069 152.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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