#5185FC#5185FC

#5185FC is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.2% C 0.186 H 264.1°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5185FC
RGBrgb(81, 133, 252)
HSLhsl(222, 97%, 65%)
HSVhsv(222, 68%, 99%)
CMYKcmyk(67.9%, 47.2%, 0%, 1.2%)
CIE-LABlab(57.61, 20.67, -64.51)
CIE-LCHlch(57.61, 67.74, 287.76°)
OKLaboklab(64.17% -0.0191 -0.1849)
OKLCHoklch(64.17% 0.186 264.1)
XYZxyz(29.3454, 25.5497, 95.4616)
Luminance0.2555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5185FC #FCC851
analogous
#51DBFC #5185FC #7251FC
triadic
#5185FC #FC5185 #85FC51
tetradic
#5185FC #FC51DB #FCC851 #51FC72
square
#5185FC #FC51DB #FCC851 #51FC72
split-complementary
#5185FC #FC7251 #DBFC51
monochromatic
#0441CF #155BFB #5185FC #8DAFFD #C9D9FE

Accessibility & contrast

On white

3.44
#5185FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#5185FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5185FC
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5185FC#FFFFFF#000000##000000
##5185FC1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4593FF
Deuteranopia (green-blind)
#1A83FA
Tritanopia (blue-blind)
#00A1B4
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5185fc;
/* rgb */ color: rgb(81, 133, 252);
/* oklch */ color: oklch(64.2% 0.186 264.1);
Tailwind
colors: {
  custom: {
    50: '#94a7fe',
    500: '#5185fc',
    950: '#000000',
  },
}
SCSS
$custom: #5185fc;
$custom-light: #94a7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#5185fc",
  "rgb": {
    "r": 81,
    "g": 133,
    "b": 252
  },
  "hsl": {
    "h": 221.754,
    "s": 96.61,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64167,
    "c": 0.1859,
    "h": 264.1
  },
  "luminance": 0.25553
}

Semantic roles & 50–950 ramp

primary
#5185FC
secondary
#F1E0B8
accent
#A000E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F18
muted
#7E7F86

Preview Lab

Preview with #5185FC

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

Preview Lab → · Contrast checker → · Palette generator →

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