#5762EE#5762EE

#5762EE is a mid, highly saturated blue. Relative luminance 0.169; OKLCH L 56.8% C 0.208 H 274.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#5762EE
RGBrgb(87, 98, 238)
HSLhsl(236, 82%, 64%)
HSVhsv(236, 63%, 93%)
CMYKcmyk(63.4%, 58.8%, 0%, 6.7%)
CIE-LABlab(48.17, 38.20, -71.97)
CIE-LCHlch(48.17, 81.48, 297.96°)
OKLaboklab(56.85% 0.0155 -0.2072)
OKLCHoklch(56.85% 0.208 274.3)
XYZxyz(23.7257, 16.9326, 82.8904)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5762EE #EEE357
analogous
#57ADEE #5762EE #9757EE
triadic
#5762EE #EE5762 #62EE57
tetradic
#5762EE #EE57AD #EEE357 #57EE97
square
#5762EE #EE57AD #EEE357 #57EE97
split-complementary
#5762EE #EE9757 #ADEE57
monochromatic
#131FB8 #1F2EE8 #5762EE #8F96F4 #C6CAF9

Accessibility & contrast

On white

4.79
#5762EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#5762EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5762EE
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5762EE#FFFFFF#000000##FFFFFF
##5762EE1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F3
Deuteranopia (green-blind)
#006CEB
Tritanopia (blue-blind)
#00849F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5762ee;
/* rgb */ color: rgb(87, 98, 238);
/* oklch */ color: oklch(56.8% 0.208 274.3);
Tailwind
colors: {
  custom: {
    50: '#968ef4',
    500: '#5762ee',
    950: '#000000',
  },
}
SCSS
$custom: #5762ee;
$custom-light: #968ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#5762ee",
  "rgb": {
    "r": 87,
    "g": 98,
    "b": 238
  },
  "hsl": {
    "h": 235.629,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.56845,
    "c": 0.20777,
    "h": 274.3
  },
  "luminance": 0.16935
}

Semantic roles & 50–950 ramp

primary
#5762EE
secondary
#EBE7B6
accent
#CE08DE
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5762EE

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5762EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva