#5762E8#5762E8

#5762E8 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.4% C 0.200 H 274.5°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5762E8
RGBrgb(87, 98, 232)
HSLhsl(235, 76%, 63%)
HSVhsv(235, 63%, 91%)
CMYKcmyk(62.5%, 57.8%, 0%, 9%)
CIE-LABlab(47.73, 36.22, -69.32)
CIE-LCHlch(47.73, 78.21, 297.59°)
OKLaboklab(56.38% 0.0156 -0.1994)
OKLCHoklch(56.38% 0.2 274.5)
XYZxyz(22.8589, 16.5859, 78.3251)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5762E8 #E8DD57
analogous
#57ABE8 #5762E8 #9457E8
triadic
#5762E8 #E85762 #62E857
tetradic
#5762E8 #E857AB #E8DD57 #57E894
square
#5762E8 #E857AB #E8DD57 #57E894
split-complementary
#5762E8 #E89457 #ABE857
monochromatic
#1823AD #2130E1 #5762E8 #8D94EF #C3C7F7

Accessibility & contrast

On white

4.86
#5762E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#5762E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5762E8
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5762E8#FFFFFF#000000##FFFFFF
##5762E81.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#006BE5
Tritanopia (blue-blind)
#00839C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5762e8;
/* rgb */ color: rgb(87, 98, 232);
/* oklch */ color: oklch(56.4% 0.200 274.5);
Tailwind
colors: {
  custom: {
    50: '#958ef0',
    500: '#5762e8',
    950: '#000000',
  },
}
SCSS
$custom: #5762e8;
$custom-light: #958ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#5762e8",
  "rgb": {
    "r": 87,
    "g": 98,
    "b": 232
  },
  "hsl": {
    "h": 235.448,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.5638,
    "c": 0.19999,
    "h": 274.5
  },
  "luminance": 0.16588
}

Semantic roles & 50–950 ramp

primary
#5762E8
secondary
#E8E4B3
accent
#C90DD8
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5762E8

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

Preview Lab → · Contrast checker → · Palette generator →

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