#5185FD#5185FD

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

Color values

HEX#5185FD
RGBrgb(81, 133, 253)
HSLhsl(222, 98%, 65%)
HSVhsv(222, 68%, 99%)
CMYKcmyk(68%, 47.4%, 0%, 0.8%)
CIE-LABlab(57.67, 21.01, -64.96)
CIE-LCHlch(57.67, 68.28, 287.92°)
OKLaboklab(64.23% -0.0189 -0.1862)
OKLCHoklch(64.23% 0.187 264.2)
XYZxyz(29.5043, 25.6133, 96.2984)
Luminance0.2562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5185FD #FDC951
analogous
#51DBFD #5185FD #7351FD
triadic
#5185FD #FD5185 #85FD51
tetradic
#5185FD #FD51DB #FDC951 #51FD73
square
#5185FD #FD51DB #FDC951 #51FD73
split-complementary
#5185FD #FD7351 #DBFD51
monochromatic
#0241D1 #145BFC #5185FD #8EAFFE #CADAFE

Accessibility & contrast

On white

3.43
#5185FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#5185FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5185FD
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5185FD#FFFFFF#000000##000000
##5185FD1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4493FF
Deuteranopia (green-blind)
#1683FB
Tritanopia (blue-blind)
#00A1B5
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5185fd;
/* rgb */ color: rgb(81, 133, 253);
/* oklch */ color: oklch(64.2% 0.187 264.2);
Tailwind
colors: {
  custom: {
    50: '#94a7ff',
    500: '#5185fd',
    950: '#000000',
  },
}
SCSS
$custom: #5185fd;
$custom-light: #94a7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5185fd",
  "rgb": {
    "r": 81,
    "g": 133,
    "b": 253
  },
  "hsl": {
    "h": 221.86,
    "s": 97.727,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64233,
    "c": 0.18721,
    "h": 264.2
  },
  "luminance": 0.25616
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5185FD

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

Preview Lab → · Contrast checker → · Palette generator →

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