#5A8EEA#5A8EEA

#5A8EEA is a light, vivid blue. Relative luminance 0.275; OKLCH L 65.3% C 0.149 H 261.0°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#5A8EEA
RGBrgb(90, 142, 234)
HSLhsl(218, 77%, 64%)
HSVhsv(218, 62%, 92%)
CMYKcmyk(61.5%, 39.3%, 0%, 8.2%)
CIE-LABlab(59.40, 10.60, -51.68)
CIE-LCHlch(59.40, 52.76, 281.59°)
OKLaboklab(65.32% -0.0232 -0.147)
OKLCHoklch(65.32% 0.149 261)
XYZxyz(28.7355, 27.4576, 81.6115)
Luminance0.2746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8EEA #EAB65A
analogous
#5AD6EA #5A8EEA #6E5AEA
triadic
#5A8EEA #EA5A8E #8EEA5A
tetradic
#5A8EEA #EA5AD6 #EAB65A #5AEA6E
square
#5A8EEA #EA5AD6 #EAB65A #5AEA6E
split-complementary
#5A8EEA #EA6E5A #D6EA5A
monochromatic
#174FB3 #2469E3 #5A8EEA #90B3F1 #C7D8F8

Accessibility & contrast

On white

3.23
#5A8EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#5A8EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8EEA
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8EEA#FFFFFF#000000##000000
##5A8EEA1.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6696EE
Deuteranopia (green-blind)
#5189E8
Tritanopia (blue-blind)
#00A3B1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5a8eea;
/* rgb */ color: rgb(90, 142, 234);
/* oklch */ color: oklch(65.3% 0.149 261.0);
Tailwind
colors: {
  custom: {
    50: '#95aef1',
    500: '#5a8eea',
    950: '#000000',
  },
}
SCSS
$custom: #5a8eea;
$custom-light: #95aef1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8eea",
  "rgb": {
    "r": 90,
    "g": 142,
    "b": 234
  },
  "hsl": {
    "h": 218.333,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.65322,
    "c": 0.14879,
    "h": 261
  },
  "luminance": 0.2746
}

Semantic roles & 50–950 ramp

primary
#5A8EEA
secondary
#E9D7B6
accent
#8F0CDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5A8EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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