#5791DB#5791DB

#5791DB is a light, vivid cyan. Relative luminance 0.274; OKLCH L 65.0% C 0.127 H 255.3°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#5791DB
RGBrgb(87, 145, 219)
HSLhsl(214, 65%, 60%)
HSVhsv(214, 60%, 86%)
CMYKcmyk(60.3%, 33.8%, 0%, 14.1%)
CIE-LABlab(59.33, 3.31, -43.45)
CIE-LCHlch(59.33, 43.57, 274.36°)
OKLaboklab(64.99% -0.0323 -0.1229)
OKLCHoklch(64.99% 0.127 255.3)
XYZxyz(26.8375, 27.3891, 70.8764)
Luminance0.2739 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5791DB #DBA157
analogous
#57D3DB #5791DB #5F57DB
triadic
#5791DB #DB5791 #91DB57
tetradic
#5791DB #DB57D3 #DBA157 #57DB5F
square
#5791DB #DB57D3 #DBA157 #57DB5F
split-complementary
#5791DB #DB5F57 #D3DB57
monochromatic
#205597 #2B71CA #5791DB #89B2E6 #BCD3F1

Accessibility & contrast

On white

3.24
#5791DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#5791DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5791DB
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5791DB#FFFFFF#000000##000000
##5791DB1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7296DE
Deuteranopia (green-blind)
#6089D9
Tritanopia (blue-blind)
#00A2AC
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5791db;
/* rgb */ color: rgb(87, 145, 219);
/* oklch */ color: oklch(65.0% 0.127 255.3);
Tailwind
colors: {
  custom: {
    50: '#91b0e6',
    500: '#5791db',
    950: '#000000',
  },
}
SCSS
$custom: #5791db;
$custom-light: #91b0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5791db",
  "rgb": {
    "r": 87,
    "g": 145,
    "b": 219
  },
  "hsl": {
    "h": 213.636,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.64989,
    "c": 0.1271,
    "h": 255.3
  },
  "luminance": 0.27392
}

Semantic roles & 50–950 ramp

primary
#5791DB
secondary
#E0CAAD
accent
#9E40E8
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5791DB

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

Preview Lab → · Contrast checker → · Palette generator →

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