#5A8CEA#5A8CEA

#5A8CEA is a light, vivid blue. Relative luminance 0.269; OKLCH L 64.9% C 0.151 H 261.9°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#5A8CEA
RGBrgb(90, 140, 234)
HSLhsl(219, 77%, 64%)
HSVhsv(219, 62%, 92%)
CMYKcmyk(61.5%, 40.2%, 0%, 8.2%)
CIE-LABlab(58.85, 11.79, -52.55)
CIE-LCHlch(58.85, 53.85, 282.65°)
OKLaboklab(64.9% -0.0212 -0.1495)
OKLCHoklch(64.9% 0.151 261.9)
XYZxyz(28.4406, 26.8678, 81.5132)
Luminance0.2687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8CEA #EAB85A
analogous
#5AD4EA #5A8CEA #705AEA
triadic
#5A8CEA #EA5A8C #8CEA5A
tetradic
#5A8CEA #EA5AD4 #EAB85A #5AEA70
square
#5A8CEA #EA5AD4 #EAB85A #5AEA70
split-complementary
#5A8CEA #EA705A #D4EA5A
monochromatic
#174DB3 #2466E3 #5A8CEA #90B2F1 #C7D8F8

Accessibility & contrast

On white

3.29
#5A8CEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#5A8CEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8CEA
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8CEA#FFFFFF#000000##000000
##5A8CEA1.003.296.376.37
#FFFFFF3.291.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295EE
Deuteranopia (green-blind)
#4E87E8
Tritanopia (blue-blind)
#00A1B0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5a8cea;
/* rgb */ color: rgb(90, 140, 234);
/* oklch */ color: oklch(64.9% 0.151 261.9);
Tailwind
colors: {
  custom: {
    50: '#95adf1',
    500: '#5a8cea',
    950: '#000000',
  },
}
SCSS
$custom: #5a8cea;
$custom-light: #95adf1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8cea",
  "rgb": {
    "r": 90,
    "g": 140,
    "b": 234
  },
  "hsl": {
    "h": 219.167,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.64901,
    "c": 0.15102,
    "h": 261.9
  },
  "luminance": 0.2687
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A8CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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