#5762E4#5762E4

#5762E4 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 56.1% C 0.195 H 274.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5762E4
RGBrgb(87, 98, 228)
HSLhsl(235, 72%, 62%)
HSVhsv(235, 62%, 89%)
CMYKcmyk(61.8%, 57%, 0%, 10.6%)
CIE-LABlab(47.44, 34.90, -67.53)
CIE-LCHlch(47.44, 76.02, 297.33°)
OKLaboklab(56.07% 0.0155 -0.1941)
OKLCHoklch(56.07% 0.195 274.6)
XYZxyz(22.2972, 16.3612, 75.3668)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5762E4 #E4D957
analogous
#57A9E4 #5762E4 #9357E4
triadic
#5762E4 #E45762 #62E457
tetradic
#5762E4 #E457A9 #E4D957 #57E493
square
#5762E4 #E457A9 #E4D957 #57E493
split-complementary
#5762E4 #E49357 #A9E457
monochromatic
#1B26A6 #2331DB #5762E4 #8C93EC #C0C5F5

Accessibility & contrast

On white

4.92
#5762E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#5762E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5762E4
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5762E4#FFFFFF#000000##FFFFFF
##5762E41.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E8
Deuteranopia (green-blind)
#006BE1
Tritanopia (blue-blind)
#008199
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5762e4;
/* rgb */ color: rgb(87, 98, 228);
/* oklch */ color: oklch(56.1% 0.195 274.6);
Tailwind
colors: {
  custom: {
    50: '#948eed',
    500: '#5762e4',
    950: '#000000',
  },
}
SCSS
$custom: #5762e4;
$custom-light: #948eed;
$custom-dark: #000000;
JSON
{
  "hex": "#5762e4",
  "rgb": {
    "r": 87,
    "g": 98,
    "b": 228
  },
  "hsl": {
    "h": 235.319,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.56074,
    "c": 0.19475,
    "h": 274.6
  },
  "luminance": 0.16363
}

Semantic roles & 50–950 ramp

primary
#5762E4
secondary
#E6E1B1
accent
#C511D4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5762E4

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

Preview Lab → · Contrast checker → · Palette generator →

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