#5A8DEF#5A8DEF

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

Color values

HEX#5A8DEF
RGBrgb(90, 141, 239)
HSLhsl(219, 82%, 65%)
HSVhsv(219, 62%, 94%)
CMYKcmyk(62.3%, 41%, 0%, 6.3%)
CIE-LABlab(59.39, 12.86, -54.46)
CIE-LCHlch(59.39, 55.96, 283.29°)
OKLaboklab(65.41% -0.0212 -0.1551)
OKLCHoklch(65.41% 0.157 262.2)
XYZxyz(29.3159, 27.4527, 85.3986)
Luminance0.2746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8DEF #EFBC5A
analogous
#5AD8EF #5A8DEF #725AEF
triadic
#5A8DEF #EF5A8D #8DEF5A
tetradic
#5A8DEF #EF5AD8 #EFBC5A #5AEF72
square
#5A8DEF #EF5AD8 #EFBC5A #5AEF72
split-complementary
#5A8DEF #EF725A #D8EF5A
monochromatic
#124CBC #2266EA #5A8DEF #92B4F4 #CADAFA

Accessibility & contrast

On white

3.24
#5A8DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A8DEF#FFFFFF#000000##000000
##5A8DEF1.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6196F3
Deuteranopia (green-blind)
#4B89ED
Tritanopia (blue-blind)
#00A3B2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5a8def;
/* rgb */ color: rgb(90, 141, 239);
/* oklch */ color: oklch(65.4% 0.157 262.2);
Tailwind
colors: {
  custom: {
    50: '#95adf5',
    500: '#5a8def',
    950: '#000000',
  },
}
SCSS
$custom: #5a8def;
$custom-light: #95adf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8def",
  "rgb": {
    "r": 90,
    "g": 141,
    "b": 239
  },
  "hsl": {
    "h": 219.463,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.65405,
    "c": 0.15656,
    "h": 262.2
  },
  "luminance": 0.27455
}

Semantic roles & 50–950 ramp

primary
#5A8DEF
secondary
#ECDBB9
accent
#9507DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5A8DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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