#5185EA#5185EA

#5185EA is a light, vivid blue. Relative luminance 0.245; OKLCH L 63.0% C 0.162 H 262.2°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#5185EA
RGBrgb(81, 133, 234)
HSLhsl(220, 78%, 62%)
HSVhsv(220, 65%, 92%)
CMYKcmyk(65.4%, 43.2%, 0%, 8.2%)
CIE-LABlab(56.55, 14.46, -56.24)
CIE-LCHlch(56.55, 58.07, 284.42°)
OKLaboklab(63.01% -0.0219 -0.1606)
OKLCHoklch(63.01% 0.162 262.2)
XYZxyz(26.6269, 24.4623, 81.1444)
Luminance0.2447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5185EA #EAB651
analogous
#51D2EA #5185EA #6A51EA
triadic
#5185EA #EA5185 #85EA51
tetradic
#5185EA #EA51D2 #EAB651 #51EA6A
square
#5185EA #EA51D2 #EAB651 #51EA6A
split-complementary
#5185EA #EA6A51 #D2EA51
monochromatic
#1548AC #1B5FE2 #5185EA #88ABF1 #BED2F7

Accessibility & contrast

On white

3.56
#5185EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#5185EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5185EA
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5185EA#FFFFFF#000000##000000
##5185EA1.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#558FEE
Deuteranopia (green-blind)
#3C81E8
Tritanopia (blue-blind)
#009CAC
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5185ea;
/* rgb */ color: rgb(81, 133, 234);
/* oklch */ color: oklch(63.0% 0.162 262.2);
Tailwind
colors: {
  custom: {
    50: '#91a8f1',
    500: '#5185ea',
    950: '#000000',
  },
}
SCSS
$custom: #5185ea;
$custom-light: #91a8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5185ea",
  "rgb": {
    "r": 81,
    "g": 133,
    "b": 234
  },
  "hsl": {
    "h": 219.608,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.63012,
    "c": 0.1621,
    "h": 262.2
  },
  "luminance": 0.24465
}

Semantic roles & 50–950 ramp

primary
#5185EA
secondary
#E8D4AF
accent
#940BDB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5185EA

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

Preview Lab → · Contrast checker → · Palette generator →

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