#5762E2#5762E2

#5762E2 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.9% C 0.192 H 274.6°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5762E2
RGBrgb(87, 98, 226)
HSLhsl(235, 71%, 61%)
HSVhsv(235, 62%, 89%)
CMYKcmyk(61.5%, 56.6%, 0%, 11.4%)
CIE-LABlab(47.30, 34.24, -66.63)
CIE-LCHlch(47.30, 74.91, 297.20°)
OKLaboklab(55.92% 0.0155 -0.1915)
OKLCHoklch(55.92% 0.192 274.6)
XYZxyz(22.0211, 16.2508, 73.9130)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5762E2 #E2D757
analogous
#57A8E2 #5762E2 #9257E2
triadic
#5762E2 #E25762 #62E257
tetradic
#5762E2 #E257A8 #E2D757 #57E292
square
#5762E2 #E257A8 #E2D757 #57E292
split-complementary
#5762E2 #E29257 #A8E257
monochromatic
#1C27A3 #2533D7 #5762E2 #8B93EB #BFC4F4

Accessibility & contrast

On white

4.94
#5762E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#5762E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5762E2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5762E2#FFFFFF#000000##FFFFFF
##5762E21.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E6
Deuteranopia (green-blind)
#006ADF
Tritanopia (blue-blind)
#008198
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5762e2;
/* rgb */ color: rgb(87, 98, 226);
/* oklch */ color: oklch(55.9% 0.192 274.6);
Tailwind
colors: {
  custom: {
    50: '#948eec',
    500: '#5762e2',
    950: '#000000',
  },
}
SCSS
$custom: #5762e2;
$custom-light: #948eec;
$custom-dark: #000000;
JSON
{
  "hex": "#5762e2",
  "rgb": {
    "r": 87,
    "g": 98,
    "b": 226
  },
  "hsl": {
    "h": 235.252,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55923,
    "c": 0.19212,
    "h": 274.6
  },
  "luminance": 0.16253
}

Semantic roles & 50–950 ramp

primary
#5762E2
secondary
#E4E0B0
accent
#C313D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5762E2

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

Preview Lab → · Contrast checker → · Palette generator →

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