#335EDB

Closest named color: Warm Blue (#4B57DB). oklch(52.8% 0.197 265.5), rgb(51, 94, 219).

Aa

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

About this color

#335EDB is a medium-dark, vivid blue. In OKLCH its lightness is 53%, its chroma 0.197 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Warm Blue (#4B57DB), ΔE 0.027 away. White text reads best on it, at 5.57:1.

Hue familyBlues
Lightnessmedium-dark (53%)
Chromavivid (0.197)
Temperaturecool
Nearest nameWarm Blue (#4B57DB)
Black text3.76:1
White text5.57:1

Values

HEX#335EDB
RGBrgb(51, 94, 219)
HSLhsl(225, 70%, 53%)
OKLCHoklch(52.8% 0.197 265.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 #335EDB 5.57:1 AA Lc -82.6 Fine for body text
Black text on #335EDB 3.76:1 AA large text Lc 26.8 Dividers and decoration only
#335EDB text on white 5.57:1 AA Lc 77.3 Fine for body text
#335EDB text on black 3.76:1 AA large text Lc -24.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 600.

  1. Step 50

    50

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E2EAFC

    oklch(93.6% 0.026 266.6)

  3. Step 200

    200

    #CAD9FB

    oklch(88.5% 0.05 266.5)

  4. Step 300

    300

    #A5C0FB

    oklch(80.9% 0.089 265.4)

  5. Step 400

    400

    #769DF9

    oklch(70.7% 0.142 265.5)

  6. Step 500

    500

    #5481F6

    oklch(63.1% 0.182 265.6)

  7. Step 600

    600 (this color)

    #335EDB

    oklch(52.8% 0.197 265.5)

  8. Step 700

    700

    #2D55C7

    oklch(49.2% 0.183 265.4)

  9. Step 800

    800

    #2646A1

    oklch(42.7% 0.152 265.6)

  10. Step 900

    900

    #233C80

    oklch(37.7% 0.119 265.7)

  11. Step 950

    950

    #14244B

    oklch(27.1% 0.075 265)

Export this scale for Tailwind in the Tailwind colors tool

#335EDB 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)#0070DF0.045
Deuteranopia (no green cones)#0060D90.025
Tritanopia (no blue cones)#007D930.155
Achromatopsia (no color)#6868680.198

Harmonies

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

Complementary

The opposite hue (180°).

  • #335EDB

    #335EDB

    oklch(52.8% 0.197 265.5)

  • #876500

    #876500

    oklch(52.7% 0.108 85.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335EDB

    #335EDB

    oklch(52.8% 0.197 265.5)

  • #0074A3

    #0074A3

    oklch(52.8% 0.113 235.6)

  • #7847CE

    #7847CE

    oklch(52.8% 0.198 295.5)

Open the analogous palette in the generator

Split complementary

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

  • #335EDB

    #335EDB

    oklch(52.8% 0.197 265.5)

  • #A25300

    #A25300

    oklch(52.8% 0.13 55.7)

  • #697300

    #697300

    oklch(52.9% 0.12 115.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335EDB

    #335EDB

    oklch(52.8% 0.197 265.5)

  • #C41F27

    #C41F27

    oklch(52.9% 0.198 25.5)

  • #008224

    #008224

    oklch(52.8% 0.164 145.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335EDB

    #335EDB

    oklch(52.8% 0.197 265.5)

  • #BA1F70

    #BA1F70

    oklch(52.7% 0.198 355.3)

  • #876500

    #876500

    oklch(52.7% 0.108 85.4)

  • #007D68

    #007D68

    oklch(52.7% 0.099 175.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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