#5762DB#5762DB

#5762DB is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.4% C 0.183 H 274.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5762DB
RGBrgb(87, 98, 219)
HSLhsl(235, 65%, 60%)
HSVhsv(235, 60%, 86%)
CMYKcmyk(60.3%, 55.3%, 0%, 14.1%)
CIE-LABlab(46.81, 31.93, -63.46)
CIE-LCHlch(46.81, 71.04, 296.71°)
OKLaboklab(55.4% 0.0154 -0.1822)
OKLCHoklch(55.4% 0.183 274.8)
XYZxyz(21.0802, 15.8744, 68.9573)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5762DB #DBD057
analogous
#57A4DB #5762DB #8E57DB
triadic
#5762DB #DB5762 #62DB57
tetradic
#5762DB #DB57A4 #DBD057 #57DB8E
square
#5762DB #DB57A4 #DBD057 #57DB8E
split-complementary
#5762DB #DB8E57 #A4DB57
monochromatic
#202A97 #2B38CA #5762DB #8991E6 #BCC0F1

Accessibility & contrast

On white

5.03
#5762DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#5762DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5762DB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5762DB#FFFFFF#000000##FFFFFF
##5762DB1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#0069D9
Tritanopia (blue-blind)
#007F95
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5762db;
/* rgb */ color: rgb(87, 98, 219);
/* oklch */ color: oklch(55.4% 0.183 274.8);
Tailwind
colors: {
  custom: {
    50: '#928ee7',
    500: '#5762db',
    950: '#000000',
  },
}
SCSS
$custom: #5762db;
$custom-light: #928ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#5762db",
  "rgb": {
    "r": 87,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 235,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.554,
    "c": 0.18281,
    "h": 274.8
  },
  "luminance": 0.15876
}

Semantic roles & 50–950 ramp

primary
#5762DB
secondary
#E0DCAD
accent
#DA40E8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5762DB

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

Preview Lab → · Contrast checker → · Palette generator →

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