#5A8EE3#5A8EE3

#5A8EE3 is a light, vivid blue. Relative luminance 0.271; OKLCH L 64.9% C 0.139 H 259.8°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#5A8EE3
RGBrgb(90, 142, 227)
HSLhsl(217, 71%, 62%)
HSVhsv(217, 60%, 89%)
CMYKcmyk(60.4%, 37.4%, 0%, 11%)
CIE-LABlab(59.03, 8.28, -48.37)
CIE-LCHlch(59.03, 49.07, 279.72°)
OKLaboklab(64.92% -0.0248 -0.1373)
OKLCHoklch(64.92% 0.139 259.8)
XYZxyz(27.7497, 27.0632, 76.4195)
Luminance0.2707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8EE3 #E3AF5A
analogous
#5AD3E3 #5A8EE3 #6B5AE3
triadic
#5A8EE3 #E35A8E #8EE35A
tetradic
#5A8EE3 #E35AD3 #E3AF5A #5AE36B
square
#5A8EE3 #E35AD3 #E3AF5A #5AE36B
split-complementary
#5A8EE3 #E36B5A #D3E35A
monochromatic
#1C51A6 #266ADA #5A8EE3 #8EB2EC #C3D6F5

Accessibility & contrast

On white

3.27
#5A8EE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#5A8EE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8EE3
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8EE3#FFFFFF#000000##000000
##5A8EE31.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A95E6
Deuteranopia (green-blind)
#5788E1
Tritanopia (blue-blind)
#00A1AE
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5a8ee3;
/* rgb */ color: rgb(90, 142, 227);
/* oklch */ color: oklch(64.9% 0.139 259.8);
Tailwind
colors: {
  custom: {
    50: '#94aeec',
    500: '#5a8ee3',
    950: '#000000',
  },
}
SCSS
$custom: #5a8ee3;
$custom-light: #94aeec;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8ee3",
  "rgb": {
    "r": 90,
    "g": 142,
    "b": 227
  },
  "hsl": {
    "h": 217.226,
    "s": 70.984,
    "l": 62.157
  },
  "oklch": {
    "l": 0.64923,
    "c": 0.13949,
    "h": 259.8
  },
  "luminance": 0.27066
}

Semantic roles & 50–950 ramp

primary
#5A8EE3
secondary
#E6D2B3
accent
#8A12D3
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5A8EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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