#5762CD#5762CD

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

Color values

HEX#5762CD
RGBrgb(87, 98, 205)
HSLhsl(234, 54%, 57%)
HSVhsv(234, 58%, 80%)
CMYKcmyk(57.6%, 52.2%, 0%, 19.6%)
CIE-LABlab(45.86, 27.30, -56.99)
CIE-LCHlch(45.86, 63.20, 295.60°)
OKLaboklab(54.39% 0.0147 -0.1631)
OKLCHoklch(54.39% 0.164 275.1)
XYZxyz(19.3140, 15.1680, 59.6557)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5762CD #CDC257
analogous
#579DCD #5762CD #8757CD
triadic
#5762CD #CD5762 #62CD57
tetradic
#5762CD #CD579D #CDC257 #57CD87
square
#5762CD #CD579D #CDC257 #57CD87
split-complementary
#5762CD #CD8757 #9DCD57
monochromatic
#272F83 #3541B2 #5762CD #868EDB #B5BAE9

Accessibility & contrast

On white

5.21
#5762CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#5762CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5762CD
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5762CD#FFFFFF#000000##FFFFFF
##5762CD1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2472D1
Deuteranopia (green-blind)
#0368CB
Tritanopia (blue-blind)
#047A8E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5762cd;
/* rgb */ color: rgb(87, 98, 205);
/* oklch */ color: oklch(54.4% 0.164 275.1);
Tailwind
colors: {
  custom: {
    50: '#908edd',
    500: '#5762cd',
    950: '#000000',
  },
}
SCSS
$custom: #5762cd;
$custom-light: #908edd;
$custom-dark: #000000;
JSON
{
  "hex": "#5762cd",
  "rgb": {
    "r": 87,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 234.407,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5439,
    "c": 0.16379,
    "h": 275.1
  },
  "luminance": 0.15169
}

Semantic roles & 50–950 ramp

primary
#5762CD
secondary
#D8D3A8
accent
#D04ADD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5762CD

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

Preview Lab → · Contrast checker → · Palette generator →

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