#5191D2#5191D2

#5191D2 is a light, moderate cyan. Relative luminance 0.267; OKLCH L 64.2% C 0.118 H 250.5°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#5191D2
RGBrgb(81, 145, 210)
HSLhsl(210, 59%, 57%)
HSVhsv(210, 61%, 82%)
CMYKcmyk(61.4%, 31%, 0%, 17.6%)
CIE-LABlab(58.65, -0.78, -39.50)
CIE-LCHlch(58.65, 39.51, 268.87°)
OKLaboklab(64.24% -0.0395 -0.1115)
OKLCHoklch(64.24% 0.118 250.5)
XYZxyz(25.1474, 26.6509, 64.7792)
Luminance0.2665 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5191D2 #D29251
analogous
#51D1D2 #5191D2 #5251D2
triadic
#5191D2 #D25191 #91D251
tetradic
#5191D2 #D251D1 #D29251 #51D252
square
#5191D2 #D251D1 #D29251 #51D252
split-complementary
#5191D2 #D25251 #D1D251
monochromatic
#235486 #2F72B7 #5191D2 #82B0DF #B2CEEB

Accessibility & contrast

On white

3.32
#5191D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#5191D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5191D2
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5191D2#FFFFFF#000000##000000
##5191D21.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7594D5
Deuteranopia (green-blind)
#6487D1
Tritanopia (blue-blind)
#00A0A8
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5191d2;
/* rgb */ color: rgb(81, 145, 210);
/* oklch */ color: oklch(64.2% 0.118 250.5);
Tailwind
colors: {
  custom: {
    50: '#8db1e0',
    500: '#5191d2',
    950: '#000000',
  },
}
SCSS
$custom: #5191d2;
$custom-light: #8db1e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5191d2",
  "rgb": {
    "r": 81,
    "g": 145,
    "b": 210
  },
  "hsl": {
    "h": 210.233,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64244,
    "c": 0.11832,
    "h": 250.5
  },
  "luminance": 0.26653
}

Semantic roles & 50–950 ramp

primary
#5191D2
secondary
#DAC0A5
accent
#9546E2
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D1015
muted
#7E7F83

Preview Lab

Preview with #5191D2

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

Preview Lab → · Contrast checker → · Palette generator →

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