#5762DE#5762DE

#5762DE is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.6% C 0.187 H 274.7°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5762DE
RGBrgb(87, 98, 222)
HSLhsl(235, 67%, 61%)
HSVhsv(235, 61%, 87%)
CMYKcmyk(60.8%, 55.9%, 0%, 12.9%)
CIE-LABlab(47.02, 32.92, -64.82)
CIE-LCHlch(47.02, 72.70, 296.92°)
OKLaboklab(55.62% 0.0154 -0.1862)
OKLCHoklch(55.62% 0.187 274.7)
XYZxyz(21.4787, 16.0338, 71.0560)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5762DE #DED357
analogous
#57A5DE #5762DE #8F57DE
triadic
#5762DE #DE5762 #62DE57
tetradic
#5762DE #DE57A5 #DED357 #57DE8F
square
#5762DE #DE57A5 #DED357 #57DE8F
split-complementary
#5762DE #DE8F57 #A5DE57
monochromatic
#1F299C #2936CF #5762DE #8A92E8 #BDC2F2

Accessibility & contrast

On white

4.99
#5762DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#5762DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5762DE
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5762DE#FFFFFF#000000##FFFFFF
##5762DE1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E2
Deuteranopia (green-blind)
#006ADB
Tritanopia (blue-blind)
#007F96
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5762de;
/* rgb */ color: rgb(87, 98, 222);
/* oklch */ color: oklch(55.6% 0.187 274.7);
Tailwind
colors: {
  custom: {
    50: '#938ee9',
    500: '#5762de',
    950: '#000000',
  },
}
SCSS
$custom: #5762de;
$custom-light: #938ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#5762de",
  "rgb": {
    "r": 87,
    "g": 98,
    "b": 222
  },
  "hsl": {
    "h": 235.111,
    "s": 67.164,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55622,
    "c": 0.18681,
    "h": 274.7
  },
  "luminance": 0.16036
}

Semantic roles & 50–950 ramp

primary
#5762DE
secondary
#E2DEAF
accent
#C016CF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5762DE

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

Preview Lab → · Contrast checker → · Palette generator →

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