#5185DB#5185DB

#5185DB is a light, vivid blue. Relative luminance 0.236; OKLCH L 62.1% C 0.142 H 259.9°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#5185DB
RGBrgb(81, 133, 219)
HSLhsl(217, 66%, 59%)
HSVhsv(217, 63%, 86%)
CMYKcmyk(63%, 39.3%, 0%, 14.1%)
CIE-LABlab(55.72, 9.33, -49.18)
CIE-LCHlch(55.72, 50.06, 280.75°)
OKLaboklab(62.11% -0.0248 -0.1399)
OKLCHoklch(62.11% 0.142 259.9)
XYZxyz(24.5625, 23.6366, 70.2720)
Luminance0.2364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5185DB #DBA751
analogous
#51CADB #5185DB #6251DB
triadic
#5185DB #DB5185 #85DB51
tetradic
#5185DB #DB51CA #DBA751 #51DB62
square
#5185DB #DB51CA #DBA751 #51DB62
split-complementary
#5185DB #DB6251 #CADB51
monochromatic
#1E4A93 #2964C6 #5185DB #84A9E5 #B6CCF0

Accessibility & contrast

On white

3.67
#5185DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#5185DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5185DB
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5185DB#FFFFFF#000000##000000
##5185DB1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8CDE
Deuteranopia (green-blind)
#4B80D9
Tritanopia (blue-blind)
#0099A5
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5185db;
/* rgb */ color: rgb(81, 133, 219);
/* oklch */ color: oklch(62.1% 0.142 259.9);
Tailwind
colors: {
  custom: {
    50: '#8ea8e6',
    500: '#5185db',
    950: '#000000',
  },
}
SCSS
$custom: #5185db;
$custom-light: #8ea8e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5185db",
  "rgb": {
    "r": 81,
    "g": 133,
    "b": 219
  },
  "hsl": {
    "h": 217.391,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62106,
    "c": 0.14206,
    "h": 259.9
  },
  "luminance": 0.23639
}

Semantic roles & 50–950 ramp

primary
#5185DB
secondary
#DFCBA9
accent
#A93FE9
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #5185DB

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

Preview Lab → · Contrast checker → · Palette generator →

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