#335274

Closest named color: YInMn Blue (#415A77). oklch(43% 0.068 251.7), rgb(51, 82, 116).

Aa

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

About this color

#335274 is a dark, muted blue. In OKLCH its lightness is 43%, its chroma 0.068 and its hue 252°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.032 away. White text reads best on it, at 8.07:1.

Hue familyBlues
Lightnessdark (43%)
Chromamuted (0.068)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text2.59:1
White text8.07:1

Values

HEX#335274
RGBrgb(51, 82, 116)
HSLhsl(211, 39%, 33%)
OKLCHoklch(43% 0.068 251.7)

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 #335274 8.07:1 AAA Lc -92.5 Preferred for body text
Black text on #335274 2.59:1 Fails Lc 16.1 Dividers and decoration only
#335274 text on white 8.07:1 AAA Lc 87.9 Fine for body text
#335274 text on black 2.59:1 Fails Lc -14.3 Not readable

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

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E4EBF1

    oklch(93.6% 0.011 243.7)

  3. Step 200

    200

    #CFDAE8

    oklch(88.4% 0.023 254.4)

  4. Step 300

    300

    #AFC3DA

    oklch(80.9% 0.039 252)

  5. Step 400

    400

    #84A4C7

    oklch(70.7% 0.063 251)

  6. Step 500

    500

    #658DB9

    oklch(63.2% 0.08 251.5)

  7. Step 600

    600

    #4B76A5

    oklch(55.5% 0.088 251.7)

  8. Step 700

    700

    #3C638E

    oklch(49% 0.082 252)

  9. Step 800

    800 (this color)

    #335274

    oklch(43% 0.068 251.7)

  10. Step 900

    900

    #2C435D

    oklch(37.6% 0.053 252.2)

  11. Step 950

    950

    #1A2836

    oklch(27.1% 0.032 249.1)

Export this scale for Tailwind in the Tailwind colors tool

#335274 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)#4453760.023
Deuteranopia (no green cones)#3C4D730.017
Tritanopia (no blue cones)#0D5A5E0.059
Achromatopsia (no color)#5050500.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #335274

    #335274

    oklch(43% 0.068 251.7)

  • #674922

    #674922

    oklch(43% 0.068 71.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335274

    #335274

    oklch(43% 0.068 251.7)

  • #1B586A

    #1B586A

    oklch(43% 0.067 221.4)

  • #4A4B74

    #4A4B74

    oklch(43% 0.067 282.1)

Open the analogous palette in the generator

Split complementary

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

  • #335274

    #335274

    oklch(43% 0.068 251.7)

  • #6F4332

    #6F4332

    oklch(43% 0.067 41.8)

  • #575121

    #575121

    oklch(43% 0.068 102.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335274

    #335274

    oklch(43% 0.068 251.7)

  • #704046

    #704046

    oklch(43.1% 0.067 12.2)

  • #42582F

    #42582F

    oklch(43.1% 0.069 131.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335274

    #335274

    oklch(43% 0.068 251.7)

  • #69415A

    #69415A

    oklch(43.1% 0.066 342.2)

  • #674922

    #674922

    oklch(43% 0.068 71.4)

  • #295B44

    #295B44

    oklch(42.9% 0.067 161.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #335274 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.