#335DB9

Closest named color: Mid Blue (#276AB3). oklch(50% 0.153 263.4), rgb(51, 93, 185).

Aa

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

About this color

#335DB9 is a medium-dark, vivid blue. In OKLCH its lightness is 50%, its chroma 0.153 and its hue 263°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.038 away. White text reads best on it, at 6.16:1.

Hue familyBlues
Lightnessmedium-dark (50%)
Chromavivid (0.153)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text3.40:1
White text6.16:1

Values

HEX#335DB9
RGBrgb(51, 93, 185)
HSLhsl(221, 57%, 46%)
OKLCHoklch(50% 0.153 263.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 #335DB9 6.16:1 AA Lc -85.5 Fine for body text
Black text on #335DB9 3.40:1 AA large text Lc 23.7 Dividers and decoration only
#335DB9 text on white 6.16:1 AA Lc 80.4 Fine for body text
#335DB9 text on black 3.40:1 AA large text Lc -21.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 700.

  1. Step 50

    50

    #F2F6FC

    oklch(97.2% 0.009 258.3)

  2. Step 100

    100

    #E2EAF9

    oklch(93.5% 0.022 263.2)

  3. Step 200

    200

    #CBDAF5

    oklch(88.6% 0.041 262.3)

  4. Step 300

    300

    #A8C1F1

    oklch(80.9% 0.074 263.3)

  5. Step 400

    400

    #7A9FEB

    oklch(70.7% 0.119 263.8)

  6. Step 500

    500

    #5885E4

    oklch(63% 0.152 263.5)

  7. Step 600

    600

    #3E6DD2

    oklch(55.6% 0.164 263.3)

  8. Step 700

    700 (this color)

    #335DB9

    oklch(50% 0.153 263.4)

  9. Step 800

    800

    #294A93

    oklch(42.6% 0.126 263.6)

  10. Step 900

    900

    #253F75

    oklch(37.7% 0.098 263.2)

  11. Step 950

    950

    #162545

    oklch(27% 0.063 263.8)

Export this scale for Tailwind in the Tailwind colors tool

#335DB9 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)#2868BC0.029
Deuteranopia (no green cones)#005CB70.028
Tritanopia (no blue cones)#0073820.123
Achromatopsia (no color)#6161610.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #335DB9

    #335DB9

    oklch(50% 0.153 263.4)

  • #7F5D00

    #7F5D00

    oklch(50% 0.103 83.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335DB9

    #335DB9

    oklch(50% 0.153 263.4)

  • #006C95

    #006C95

    oklch(50% 0.104 233.6)

  • #694CB0

    #694CB0

    oklch(49.8% 0.153 293.5)

Open the analogous palette in the generator

Split complementary

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

  • #335DB9

    #335DB9

    oklch(50% 0.153 263.4)

  • #984B00

    #984B00

    oklch(50% 0.125 53.9)

  • #646900

    #646900

    oklch(49.9% 0.111 113)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335DB9

    #335DB9

    oklch(50% 0.153 263.4)

  • #A93436

    #A93436

    oklch(50% 0.153 23.7)

  • #17781C

    #17781C

    oklch(50.1% 0.153 143.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335DB9

    #335DB9

    oklch(50% 0.153 263.4)

  • #A1346A

    #A1346A

    oklch(50% 0.153 353.5)

  • #7F5D00

    #7F5D00

    oklch(50% 0.103 83.6)

  • #00745E

    #00745E

    oklch(49.8% 0.095 173.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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