#5A8AEA#5A8AEA

#5A8AEA is a light, vivid blue. Relative luminance 0.263; OKLCH L 64.5% C 0.153 H 262.8°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5A8AEA
RGBrgb(90, 138, 234)
HSLhsl(220, 77%, 64%)
HSVhsv(220, 62%, 92%)
CMYKcmyk(61.5%, 41%, 0%, 8.2%)
CIE-LABlab(58.31, 12.99, -53.41)
CIE-LCHlch(58.31, 54.97, 283.67°)
OKLaboklab(64.48% -0.0192 -0.1521)
OKLCHoklch(64.48% 0.153 262.8)
XYZxyz(28.1510, 26.2886, 81.4166)
Luminance0.2629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8AEA #EABA5A
analogous
#5AD2EA #5A8AEA #725AEA
triadic
#5A8AEA #EA5A8A #8AEA5A
tetradic
#5A8AEA #EA5AD2 #EABA5A #5AEA72
square
#5A8AEA #EA5AD2 #EABA5A #5AEA72
split-complementary
#5A8AEA #EA725A #D2EA5A
monochromatic
#174BB3 #2464E3 #5A8AEA #90B0F1 #C7D7F8

Accessibility & contrast

On white

3.36
#5A8AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#5A8AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8AEA
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8AEA#FFFFFF#000000##000000
##5A8AEA1.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F93EE
Deuteranopia (green-blind)
#4A86E8
Tritanopia (blue-blind)
#00A0AF
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5a8aea;
/* rgb */ color: rgb(90, 138, 234);
/* oklch */ color: oklch(64.5% 0.153 262.8);
Tailwind
colors: {
  custom: {
    50: '#95abf1',
    500: '#5a8aea',
    950: '#000000',
  },
}
SCSS
$custom: #5a8aea;
$custom-light: #95abf1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8aea",
  "rgb": {
    "r": 90,
    "g": 138,
    "b": 234
  },
  "hsl": {
    "h": 220,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.64483,
    "c": 0.15328,
    "h": 262.8
  },
  "luminance": 0.26291
}

Semantic roles & 50–950 ramp

primary
#5A8AEA
secondary
#E9D8B6
accent
#950CDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5A8AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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