#335A6A

Closest named color: YInMn Blue (#415A77). oklch(44.5% 0.051 226.4), rgb(51, 90, 106).

Aa

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

About this color

#335A6A is a dark, muted teal or cyan. In OKLCH its lightness is 45%, its chroma 0.051 and its hue 226°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.029 away. White text reads best on it, at 7.46:1.

Hue familyTeals and cyans
Lightnessdark (45%)
Chromamuted (0.051)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text2.81:1
White text7.46:1

Values

HEX#335A6A
RGBrgb(51, 90, 106)
HSLhsl(197, 35%, 31%)
OKLCHoklch(44.5% 0.051 226.4)

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 #335A6A 7.46:1 AAA Lc -90.7 Preferred for body text
Black text on #335A6A 2.81:1 Fails Lc 18.2 Dividers and decoration only
#335A6A text on white 7.46:1 AAA Lc 85.9 Fine for body text
#335A6A text on black 2.81:1 Fails Lc -16.2 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

    #F3F6F7

    oklch(97.1% 0.003 219.5)

  2. Step 100

    100

    #E4EBEE

    oklch(93.6% 0.009 225.1)

  3. Step 200

    200

    #CEDCE2

    oklch(88.6% 0.017 225.2)

  4. Step 300

    300

    #ADC5D0

    oklch(80.9% 0.03 227.1)

  5. Step 400

    400

    #81A7B8

    oklch(70.6% 0.048 227.1)

  6. Step 500

    500

    #6091A6

    oklch(63% 0.061 226.8)

  7. Step 600

    600

    #457B91

    oklch(55.4% 0.067 226.4)

  8. Step 700

    700

    #37687C

    oklch(49.1% 0.062 226.7)

  9. Step 800

    800 (this color)

    #335A6A

    oklch(44.5% 0.051 226.4)

  10. Step 900

    900

    #294652

    oklch(37.7% 0.04 226.3)

  11. Step 950

    950

    #192930

    oklch(27% 0.025 227.2)

Export this scale for Tailwind in the Tailwind colors tool

#335A6A 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)#51586B0.039
Deuteranopia (no green cones)#49526A0.035
Tritanopia (no blue cones)#165F5F0.036
Achromatopsia (no color)#5555550.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #335A6A

    #335A6A

    oklch(44.5% 0.051 226.4)

  • #6C4B3C

    #6C4B3C

    oklch(44.5% 0.051 45.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335A6A

    #335A6A

    oklch(44.5% 0.051 226.4)

  • #2E5D5D

    #2E5D5D

    oklch(44.5% 0.051 195.5)

  • #415570

    #415570

    oklch(44.4% 0.051 256.1)

Open the analogous palette in the generator

Split complementary

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

  • #335A6A

    #335A6A

    oklch(44.5% 0.051 226.4)

  • #6E484A

    #6E484A

    oklch(44.5% 0.052 15.9)

  • #645033

    #645033

    oklch(44.4% 0.051 76.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335A6A

    #335A6A

    oklch(44.5% 0.051 226.4)

  • #69485A

    #69485A

    oklch(44.4% 0.052 345.5)

  • #575634

    #575634

    oklch(44.5% 0.051 106.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335A6A

    #335A6A

    oklch(44.5% 0.051 226.4)

  • #5F4B67

    #5F4B67

    oklch(44.4% 0.051 316.2)

  • #6C4B3C

    #6C4B3C

    oklch(44.5% 0.051 45.4)

  • #475B3E

    #475B3E

    oklch(44.6% 0.052 136.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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