#5B81DF#5B81DF

#5B81DF is a light, vivid blue. Relative luminance 0.233; OKLCH L 62.0% C 0.148 H 265.7°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5B81DF
RGBrgb(91, 129, 223)
HSLhsl(223, 67%, 62%)
HSVhsv(223, 59%, 87%)
CMYKcmyk(59.2%, 42.2%, 0%, 12.5%)
CIE-LABlab(55.33, 14.94, -52.02)
CIE-LCHlch(55.33, 54.12, 286.03°)
OKLaboklab(62% -0.0112 -0.1481)
OKLCHoklch(62% 0.149 265.7)
XYZxyz(25.4794, 23.2502, 72.9428)
Luminance0.2325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B81DF #DFB95B
analogous
#5BC3DF #5B81DF #775BDF
triadic
#5B81DF #DF5B81 #81DF5B
tetradic
#5B81DF #DF5BC3 #DFB95B #5BDF77
square
#5B81DF #DF5BC3 #DFB95B #5BDF77
split-complementary
#5B81DF #DF775B #C3DF5B
monochromatic
#1F44A0 #295AD4 #5B81DF #8EA8E9 #C1D0F3

Accessibility & contrast

On white

3.72
#5B81DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#5B81DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B81DF
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B81DF#FFFFFF#000000##000000
##5B81DF1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#578BE3
Deuteranopia (green-blind)
#457FDD
Tritanopia (blue-blind)
#0096A5
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5b81df;
/* rgb */ color: rgb(91, 129, 223);
/* oklch */ color: oklch(62.0% 0.148 265.7);
Tailwind
colors: {
  custom: {
    50: '#94a5e9',
    500: '#5b81df',
    950: '#000000',
  },
}
SCSS
$custom: #5b81df;
$custom-light: #94a5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b81df",
  "rgb": {
    "r": 91,
    "g": 129,
    "b": 223
  },
  "hsl": {
    "h": 222.727,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.62004,
    "c": 0.1485,
    "h": 265.7
  },
  "luminance": 0.23252
}

Semantic roles & 50–950 ramp

primary
#5B81DF
secondary
#E3D5B2
accent
#9A16CF
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5B81DF

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

Preview Lab → · Contrast checker → · Palette generator →

#5B81DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva