#5785DB#5785DB

#5785DB is a light, vivid blue. Relative luminance 0.239; OKLCH L 62.4% C 0.140 H 261.9°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#5785DB
RGBrgb(87, 133, 219)
HSLhsl(219, 65%, 60%)
HSVhsv(219, 60%, 86%)
CMYKcmyk(60.3%, 39.3%, 0%, 14.1%)
CIE-LABlab(56.00, 10.43, -48.72)
CIE-LCHlch(56.00, 49.82, 282.09°)
OKLaboklab(62.4% -0.0197 -0.1384)
OKLCHoklch(62.4% 0.14 261.9)
XYZxyz(25.0997, 23.9136, 70.2972)
Luminance0.2392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5785DB #DBAD57
analogous
#57C7DB #5785DB #6B57DB
triadic
#5785DB #DB5785 #85DB57
tetradic
#5785DB #DB57C7 #DBAD57 #57DB6B
square
#5785DB #DB57C7 #DBAD57 #57DB6B
split-complementary
#5785DB #DB6B57 #C7DB57
monochromatic
#204A97 #2B62CA #5785DB #89AAE6 #BCCEF1

Accessibility & contrast

On white

3.63
#5785DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#5785DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5785DB
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5785DB#FFFFFF#000000##000000
##5785DB1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#608DDE
Deuteranopia (green-blind)
#4E81D9
Tritanopia (blue-blind)
#0098A5
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5785db;
/* rgb */ color: rgb(87, 133, 219);
/* oklch */ color: oklch(62.4% 0.140 261.9);
Tailwind
colors: {
  custom: {
    50: '#91a8e6',
    500: '#5785db',
    950: '#000000',
  },
}
SCSS
$custom: #5785db;
$custom-light: #91a8e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5785db",
  "rgb": {
    "r": 87,
    "g": 133,
    "b": 219
  },
  "hsl": {
    "h": 219.091,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.62398,
    "c": 0.13983,
    "h": 261.9
  },
  "luminance": 0.23916
}

Semantic roles & 50–950 ramp

primary
#5785DB
secondary
#E0CFAD
accent
#AD40E8
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5785DB

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

Preview Lab → · Contrast checker → · Palette generator →

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