#5762E7#5762E7

#5762E7 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.3% C 0.199 H 274.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5762E7
RGBrgb(87, 98, 231)
HSLhsl(235, 75%, 62%)
HSVhsv(235, 62%, 91%)
CMYKcmyk(62.3%, 57.6%, 0%, 9.4%)
CIE-LABlab(47.66, 35.89, -68.87)
CIE-LCHlch(47.66, 77.66, 297.53°)
OKLaboklab(56.3% 0.0156 -0.1981)
OKLCHoklch(56.3% 0.199 274.5)
XYZxyz(22.7172, 16.5292, 77.5791)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5762E7 #E7DC57
analogous
#57AAE7 #5762E7 #9457E7
triadic
#5762E7 #E75762 #62E757
tetradic
#5762E7 #E757AA #E7DC57 #57E794
square
#5762E7 #E757AA #E7DC57 #57E794
split-complementary
#5762E7 #E79457 #AAE757
monochromatic
#1824AB #2130DF #5762E7 #8D94EF #C2C6F6

Accessibility & contrast

On white

4.88
#5762E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#5762E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5762E7
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5762E7#FFFFFF#000000##FFFFFF
##5762E71.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EB
Deuteranopia (green-blind)
#006BE4
Tritanopia (blue-blind)
#00829B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5762e7;
/* rgb */ color: rgb(87, 98, 231);
/* oklch */ color: oklch(56.3% 0.199 274.5);
Tailwind
colors: {
  custom: {
    50: '#948ef0',
    500: '#5762e7',
    950: '#000000',
  },
}
SCSS
$custom: #5762e7;
$custom-light: #948ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#5762e7",
  "rgb": {
    "r": 87,
    "g": 98,
    "b": 231
  },
  "hsl": {
    "h": 235.417,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56303,
    "c": 0.19868,
    "h": 274.5
  },
  "luminance": 0.16531
}

Semantic roles & 50–950 ramp

primary
#5762E7
secondary
#E7E3B3
accent
#C80ED7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #5762E7

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

Preview Lab → · Contrast checker → · Palette generator →

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