#5191DB#5191DB

#5191DB is a light, vivid cyan. Relative luminance 0.271; OKLCH L 64.7% C 0.130 H 253.4°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#5191DB
RGBrgb(81, 145, 219)
HSLhsl(212, 66%, 59%)
HSVhsv(212, 63%, 86%)
CMYKcmyk(63%, 33.8%, 0%, 14.1%)
CIE-LABlab(59.08, 2.21, -43.87)
CIE-LCHlch(59.08, 43.92, 272.88°)
OKLaboklab(64.72% -0.0371 -0.1242)
OKLCHoklch(64.72% 0.13 253.4)
XYZxyz(26.3003, 27.1121, 70.8512)
Luminance0.2712 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5191DB #DB9B51
analogous
#51D6DB #5191DB #5651DB
triadic
#5191DB #DB5191 #91DB51
tetradic
#5191DB #DB51D6 #DB9B51 #51DB56
square
#5191DB #DB51D6 #DB9B51 #51DB56
split-complementary
#5191DB #DB5651 #D6DB51
monochromatic
#1E5593 #2972C6 #5191DB #84B1E5 #B6D1F0

Accessibility & contrast

On white

3.27
#5191DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#5191DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5191DB
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5191DB#FFFFFF#000000##000000
##5191DB1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7195DE
Deuteranopia (green-blind)
#5E88DA
Tritanopia (blue-blind)
#00A2AC
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5191db;
/* rgb */ color: rgb(81, 145, 219);
/* oklch */ color: oklch(64.7% 0.130 253.4);
Tailwind
colors: {
  custom: {
    50: '#8eb0e6',
    500: '#5191db',
    950: '#000000',
  },
}
SCSS
$custom: #5191db;
$custom-light: #8eb0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5191db",
  "rgb": {
    "r": 81,
    "g": 145,
    "b": 219
  },
  "hsl": {
    "h": 212.174,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.6472,
    "c": 0.12962,
    "h": 253.4
  },
  "luminance": 0.27115
}

Semantic roles & 50–950 ramp

primary
#5191DB
secondary
#DFC6A9
accent
#9A3FE9
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D1016
muted
#7E7F84

Preview Lab

Preview with #5191DB

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

Preview Lab → · Contrast checker → · Palette generator →

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