#5762DD#5762DD

#5762DD is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.5% C 0.185 H 274.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5762DD
RGBrgb(87, 98, 221)
HSLhsl(235, 66%, 60%)
HSVhsv(235, 61%, 87%)
CMYKcmyk(60.6%, 55.7%, 0%, 13.3%)
CIE-LABlab(46.95, 32.59, -64.37)
CIE-LCHlch(46.95, 72.15, 296.85°)
OKLaboklab(55.55% 0.0154 -0.1848)
OKLCHoklch(55.55% 0.185 274.8)
XYZxyz(21.3450, 15.9804, 70.3523)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5762DD #DDD257
analogous
#57A5DD #5762DD #8F57DD
triadic
#5762DD #DD5762 #62DD57
tetradic
#5762DD #DD57A5 #DDD257 #57DD8F
square
#5762DD #DD57A5 #DDD257 #57DD8F
split-complementary
#5762DD #DD8F57 #A5DD57
monochromatic
#1F299A #2A37CD #5762DD #8A92E7 #BDC1F2

Accessibility & contrast

On white

5.00
#5762DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#5762DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5762DD
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5762DD#FFFFFF#000000##FFFFFF
##5762DD1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5762dd;
/* rgb */ color: rgb(87, 98, 221);
/* oklch */ color: oklch(55.5% 0.185 274.8);
Tailwind
colors: {
  custom: {
    50: '#938ee8',
    500: '#5762dd',
    950: '#000000',
  },
}
SCSS
$custom: #5762dd;
$custom-light: #938ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#5762dd",
  "rgb": {
    "r": 87,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 235.075,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.55548,
    "c": 0.18548,
    "h": 274.8
  },
  "luminance": 0.15982
}

Semantic roles & 50–950 ramp

primary
#5762DD
secondary
#E1DDAE
accent
#BF17CE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5762DD

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

Preview Lab → · Contrast checker → · Palette generator →

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