#5762CF#5762CF

#5762CF is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.5% C 0.167 H 275.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5762CF
RGBrgb(87, 98, 207)
HSLhsl(235, 56%, 58%)
HSVhsv(235, 58%, 81%)
CMYKcmyk(58%, 52.7%, 0%, 18.8%)
CIE-LABlab(46.00, 27.96, -57.93)
CIE-LCHlch(46.00, 64.32, 295.77°)
OKLaboklab(54.53% 0.0148 -0.1659)
OKLCHoklch(54.53% 0.167 275.1)
XYZxyz(19.5570, 15.2651, 60.9353)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5762CF #CFC457
analogous
#579ECF #5762CF #8857CF
triadic
#5762CF #CF5762 #62CF57
tetradic
#5762CF #CF579E #CFC457 #57CF88
square
#5762CF #CF579E #CFC457 #57CF88
split-complementary
#5762CF #CF8857 #9ECF57
monochromatic
#262F85 #3440B5 #5762CF #878EDD #B6BBEA

Accessibility & contrast

On white

5.18
#5762CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#5762CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5762CF
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5762CF#FFFFFF#000000##FFFFFF
##5762CF1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2172D3
Deuteranopia (green-blind)
#0068CD
Tritanopia (blue-blind)
#007B8F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5762cf;
/* rgb */ color: rgb(87, 98, 207);
/* oklch */ color: oklch(54.5% 0.167 275.1);
Tailwind
colors: {
  custom: {
    50: '#908ede',
    500: '#5762cf',
    950: '#000000',
  },
}
SCSS
$custom: #5762cf;
$custom-light: #908ede;
$custom-dark: #000000;
JSON
{
  "hex": "#5762cf",
  "rgb": {
    "r": 87,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 234.5,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54531,
    "c": 0.16654,
    "h": 275.1
  },
  "luminance": 0.15267
}

Semantic roles & 50–950 ramp

primary
#5762CF
secondary
#D9D5A9
accent
#D149DF
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5762CF

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

Preview Lab → · Contrast checker → · Palette generator →

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