#5185DF#5185DF

#5185DF is a light, vivid blue. Relative luminance 0.239; OKLCH L 62.3% C 0.147 H 260.6°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5185DF
RGBrgb(81, 133, 223)
HSLhsl(218, 69%, 60%)
HSVhsv(218, 64%, 87%)
CMYKcmyk(63.7%, 40.4%, 0%, 12.5%)
CIE-LABlab(55.94, 10.69, -51.08)
CIE-LCHlch(55.94, 52.19, 281.82°)
OKLaboklab(62.34% -0.024 -0.1455)
OKLCHoklch(62.34% 0.147 260.6)
XYZxyz(25.0954, 23.8497, 73.0787)
Luminance0.2385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5185DF #DFAB51
analogous
#51CCDF #5185DF #6451DF
triadic
#5185DF #DF5185 #85DF51
tetradic
#5185DF #DF51CC #DFAB51 #51DF64
square
#5185DF #DF51CC #DFAB51 #51DF64
split-complementary
#5185DF #DF6451 #CCDF51
monochromatic
#1C4A99 #2663CD #5185DF #85A9E9 #B8CDF2

Accessibility & contrast

On white

3.64
#5185DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#5185DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5185DF
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5185DF#FFFFFF#000000##000000
##5185DF1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8DE3
Deuteranopia (green-blind)
#4780DD
Tritanopia (blue-blind)
#0099A7
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5185df;
/* rgb */ color: rgb(81, 133, 223);
/* oklch */ color: oklch(62.3% 0.147 260.6);
Tailwind
colors: {
  custom: {
    50: '#8fa8e9',
    500: '#5185df',
    950: '#000000',
  },
}
SCSS
$custom: #5185df;
$custom-light: #8fa8e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5185df",
  "rgb": {
    "r": 81,
    "g": 133,
    "b": 223
  },
  "hsl": {
    "h": 218.028,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.62343,
    "c": 0.14742,
    "h": 260.6
  },
  "luminance": 0.23852
}

Semantic roles & 50–950 ramp

primary
#5185DF
secondary
#E1CDAA
accent
#AB3CEC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5185DF

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

Preview Lab → · Contrast checker → · Palette generator →

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