#5198DF#5198DF

#5198DF is a light, vivid cyan. Relative luminance 0.295; OKLCH L 66.5% C 0.128 H 250.3°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#5198DF
RGBrgb(81, 152, 223)
HSLhsl(210, 69%, 60%)
HSVhsv(210, 64%, 87%)
CMYKcmyk(63.7%, 31.8%, 0%, 12.5%)
CIE-LABlab(61.25, -0.52, -42.68)
CIE-LCHlch(61.25, 42.68, 269.30°)
OKLaboklab(66.48% -0.0431 -0.1207)
OKLCHoklch(66.48% 0.128 250.3)
XYZxyz(27.9360, 29.5308, 74.0255)
Luminance0.2953 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5198DF #DF9851
analogous
#51DFDF #5198DF #5151DF
triadic
#5198DF #DF5198 #98DF51
tetradic
#5198DF #DF51DF #DF9851 #51DF51
square
#5198DF #DF51DF #DF9851 #51DF51
split-complementary
#5198DF #DF5151 #DFDF51
monochromatic
#1C5B99 #2679CD #5198DF #85B7E9 #B8D5F2

Accessibility & contrast

On white

3.04
#5198DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#5198DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5198DF
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5198DF#FFFFFF#000000##000000
##5198DF1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#799BE2
Deuteranopia (green-blind)
#668EDE
Tritanopia (blue-blind)
#00A9B1
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5198df;
/* rgb */ color: rgb(81, 152, 223);
/* oklch */ color: oklch(66.5% 0.128 250.3);
Tailwind
colors: {
  custom: {
    50: '#8fb6e9',
    500: '#5198df',
    950: '#000000',
  },
}
SCSS
$custom: #5198df;
$custom-light: #8fb6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5198df",
  "rgb": {
    "r": 81,
    "g": 152,
    "b": 223
  },
  "hsl": {
    "h": 210,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.66483,
    "c": 0.12816,
    "h": 250.3
  },
  "luminance": 0.29534
}

Semantic roles & 50–950 ramp

primary
#5198DF
secondary
#E1C6AA
accent
#943CEC
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0D1116
muted
#7E8084

Preview Lab

Preview with #5198DF

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

Preview Lab → · Contrast checker → · Palette generator →

#5198DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva