#5762CE#5762CE

#5762CE is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.5% C 0.165 H 275.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5762CE
RGBrgb(87, 98, 206)
HSLhsl(234, 55%, 57%)
HSVhsv(234, 58%, 81%)
CMYKcmyk(57.8%, 52.4%, 0%, 19.2%)
CIE-LABlab(45.93, 27.63, -57.46)
CIE-LCHlch(45.93, 63.76, 295.68°)
OKLaboklab(54.46% 0.0147 -0.1645)
OKLCHoklch(54.46% 0.165 275.1)
XYZxyz(19.4351, 15.2164, 60.2935)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5762CE #CEC357
analogous
#579DCE #5762CE #8857CE
triadic
#5762CE #CE5762 #62CE57
tetradic
#5762CE #CE579D #CEC357 #57CE88
square
#5762CE #CE579D #CEC357 #57CE88
split-complementary
#5762CE #CE8857 #9DCE57
monochromatic
#272F84 #3440B3 #5762CE #868EDC #B6BBEA

Accessibility & contrast

On white

5.19
#5762CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#5762CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5762CE
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5762CE#FFFFFF#000000##FFFFFF
##5762CE1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2372D2
Deuteranopia (green-blind)
#0068CC
Tritanopia (blue-blind)
#007B8E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5762ce;
/* rgb */ color: rgb(87, 98, 206);
/* oklch */ color: oklch(54.5% 0.165 275.1);
Tailwind
colors: {
  custom: {
    50: '#908ede',
    500: '#5762ce',
    950: '#000000',
  },
}
SCSS
$custom: #5762ce;
$custom-light: #908ede;
$custom-dark: #000000;
JSON
{
  "hex": "#5762ce",
  "rgb": {
    "r": 87,
    "g": 98,
    "b": 206
  },
  "hsl": {
    "h": 234.454,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54461,
    "c": 0.16517,
    "h": 275.1
  },
  "luminance": 0.15218
}

Semantic roles & 50–950 ramp

primary
#5762CE
secondary
#D8D4A8
accent
#D04ADE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5762CE

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

Preview Lab → · Contrast checker → · Palette generator →

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