#5A81EA#5A81EA

#5A81EA is a light, vivid blue. Relative luminance 0.238; OKLCH L 62.6% C 0.164 H 266.4°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#5A81EA
RGBrgb(90, 129, 234)
HSLhsl(224, 77%, 64%)
HSVhsv(224, 62%, 92%)
CMYKcmyk(61.5%, 44.9%, 0%, 8.2%)
CIE-LABlab(55.90, 18.42, -57.26)
CIE-LCHlch(55.90, 60.15, 287.83°)
OKLaboklab(62.63% -0.0102 -0.1635)
OKLCHoklch(62.63% 0.164 266.4)
XYZxyz(26.9129, 23.8123, 81.0039)
Luminance0.2382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A81EA #EAC35A
analogous
#5AC9EA #5A81EA #7B5AEA
triadic
#5A81EA #EA5A81 #81EA5A
tetradic
#5A81EA #EA5AC9 #EAC35A #5AEA7B
square
#5A81EA #EA5AC9 #EAC35A #5AEA7B
split-complementary
#5A81EA #EA7B5A #C9EA5A
monochromatic
#1741B3 #2458E3 #5A81EA #90AAF1 #C7D4F8

Accessibility & contrast

On white

3.64
#5A81EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#5A81EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A81EA
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A81EA#FFFFFF#000000##000000
##5A81EA1.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8DEE
Deuteranopia (green-blind)
#3880E8
Tritanopia (blue-blind)
#0099AA
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5a81ea;
/* rgb */ color: rgb(90, 129, 234);
/* oklch */ color: oklch(62.6% 0.164 266.4);
Tailwind
colors: {
  custom: {
    50: '#95a5f1',
    500: '#5a81ea',
    950: '#000000',
  },
}
SCSS
$custom: #5a81ea;
$custom-light: #95a5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a81ea",
  "rgb": {
    "r": 90,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 223.75,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62629,
    "c": 0.16381,
    "h": 266.4
  },
  "luminance": 0.23815
}

Semantic roles & 50–950 ramp

primary
#5A81EA
secondary
#E9DCB6
accent
#A20CDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5A81EA

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

Preview Lab → · Contrast checker → · Palette generator →

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