#5A8EEB#5A8EEB

#5A8EEB is a light, vivid blue. Relative luminance 0.275; OKLCH L 65.4% C 0.150 H 261.2°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#5A8EEB
RGBrgb(90, 142, 235)
HSLhsl(218, 78%, 64%)
HSVhsv(218, 62%, 92%)
CMYKcmyk(61.7%, 39.6%, 0%, 7.8%)
CIE-LABlab(59.45, 10.93, -52.15)
CIE-LCHlch(59.45, 53.29, 281.84°)
OKLaboklab(65.38% -0.023 -0.1483)
OKLCHoklch(65.38% 0.15 261.2)
XYZxyz(28.8796, 27.5152, 82.3702)
Luminance0.2752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8EEB #EBB75A
analogous
#5AD6EB #5A8EEB #6E5AEB
triadic
#5A8EEB #EB5A8E #8EEB5A
tetradic
#5A8EEB #EB5AD6 #EBB75A #5AEB6E
square
#5A8EEB #EB5AD6 #EBB75A #5AEB6E
split-complementary
#5A8EEB #EB6E5A #D6EB5A
monochromatic
#164FB5 #2369E4 #5A8EEB #91B3F2 #C7D9F8

Accessibility & contrast

On white

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

On black

6.50
#5A8EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8EEB
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8EEB#FFFFFF#000000##000000
##5A8EEB1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6596EF
Deuteranopia (green-blind)
#5089E9
Tritanopia (blue-blind)
#00A3B1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5a8eeb;
/* rgb */ color: rgb(90, 142, 235);
/* oklch */ color: oklch(65.4% 0.150 261.2);
Tailwind
colors: {
  custom: {
    50: '#95aef2',
    500: '#5a8eeb',
    950: '#000000',
  },
}
SCSS
$custom: #5a8eeb;
$custom-light: #95aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8eeb",
  "rgb": {
    "r": 90,
    "g": 142,
    "b": 235
  },
  "hsl": {
    "h": 218.483,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6538,
    "c": 0.15012,
    "h": 261.2
  },
  "luminance": 0.27518
}

Semantic roles & 50–950 ramp

primary
#5A8EEB
secondary
#EAD8B7
accent
#900BDB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5A8EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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