#5795F2

Closest named color: Chefchaouen Blue (#4895EF). oklch(67.1% 0.153 258.3), rgb(87, 149, 242).

Aa

Black text reads best on this color (6.98:1).

About this color

#5795F2 is a medium-light, vivid blue. In OKLCH its lightness is 67%, its chroma 0.153 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Chefchaouen Blue (#4895EF), ΔE 0.014 away. Black text reads best on it, at 6.98:1.

Hue familyBlues
Lightnessmedium-light (67%)
Chromavivid (0.153)
Temperaturecool
Nearest nameChefchaouen Blue (#4895EF)
Black text6.98:1
White text3.00:1

Values

HEX#5795F2
RGBrgb(87, 149, 242)
HSLhsl(216, 86%, 65%)
OKLCHoklch(67.1% 0.153 258.3)

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 #5795F2 3.00:1 AA large text Lc -61.8 Content text, not long reading
Black text on #5795F2 6.98:1 AA Lc 47.6 Large or bold text, headings
#5795F2 text on white 3.00:1 AA large text Lc 56.5 Large or bold text, headings
#5795F2 text on black 6.98:1 AA Lc -45.3 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  2. Step 100

    100

    #DFEBFD

    oklch(93.6% 0.028 258.4)

  3. Step 200

    200

    #C4DBFD

    oklch(88.5% 0.053 258)

  4. Step 300

    300

    #9BC3FE

    oklch(81% 0.094 258)

  5. Step 400

    400 (this color)

    #5795F2

    oklch(67.1% 0.153 258.3)

  6. Step 500

    500

    #3285FD

    oklch(63.1% 0.196 258.3)

  7. Step 600

    600

    #006BEA

    oklch(55.6% 0.209 258.4)

  8. Step 700

    700

    #005AC6

    oklch(49.1% 0.184 258.2)

  9. Step 800

    800

    #0049A4

    oklch(42.7% 0.16 258.3)

  10. Step 900

    900

    #0C3E83

    oklch(37.6% 0.127 258.3)

  11. Step 950

    950

    #0A254D

    oklch(27% 0.081 258.5)

Export this scale for Tailwind in the Tailwind colors tool

#5795F2 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)#6C9DF60.032
Deuteranopia (no green cones)#558EF00.019
Tritanopia (no blue cones)#00AAB80.125
Achromatopsia (no color)#9595950.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #5795F2

    #5795F2

    oklch(67.1% 0.153 258.3)

  • #C48900

    #C48900

    oklch(67.2% 0.14 78.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5795F2

    #5795F2

    oklch(67.1% 0.153 258.3)

  • #00A4D5

    #00A4D5

    oklch(67.1% 0.131 228.3)

  • #9383ED

    #9383ED

    oklch(67.1% 0.153 288.5)

Open the analogous palette in the generator

Split complementary

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

  • #5795F2

    #5795F2

    oklch(67.1% 0.153 258.3)

  • #DF7435

    #DF7435

    oklch(67.2% 0.153 48.1)

  • #9E9B00

    #9E9B00

    oklch(67% 0.145 108.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5795F2

    #5795F2

    oklch(67.1% 0.153 258.3)

  • #E46971

    #E46971

    oklch(67.1% 0.153 18.2)

  • #62AB48

    #62AB48

    oklch(67.1% 0.153 138.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5795F2

    #5795F2

    oklch(67.1% 0.153 258.3)

  • #D86AA5

    #D86AA5

    oklch(67.1% 0.153 348.6)

  • #C48900

    #C48900

    oklch(67.2% 0.14 78.2)

  • #00B086

    #00B086

    oklch(67.3% 0.136 168.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5795F2 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.