#5A8DF3#5A8DF3

#5A8DF3 is a light, vivid blue. Relative luminance 0.277; OKLCH L 65.6% C 0.162 H 262.7°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#5A8DF3
RGBrgb(90, 141, 243)
HSLhsl(220, 86%, 65%)
HSVhsv(220, 63%, 95%)
CMYKcmyk(63%, 42%, 0%, 4.7%)
CIE-LABlab(59.61, 14.20, -56.32)
CIE-LCHlch(59.61, 58.08, 284.15°)
OKLaboklab(65.65% -0.0205 -0.1606)
OKLCHoklch(65.65% 0.162 262.7)
XYZxyz(29.9133, 27.6917, 88.5453)
Luminance0.2769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8DF3 #F3C05A
analogous
#5ADAF3 #5A8DF3 #735AF3
triadic
#5A8DF3 #F35A8D #8DF35A
tetradic
#5A8DF3 #F35ADA #F3C05A #5AF373
square
#5A8DF3 #F35ADA #F3C05A #5AF373
split-complementary
#5A8DF3 #F3735A #DAF35A
monochromatic
#0E4BC4 #2166EF #5A8DF3 #93B4F7 #CCDCFB

Accessibility & contrast

On white

3.21
#5A8DF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#5A8DF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8DF3
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8DF3#FFFFFF#000000##000000
##5A8DF31.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E97F7
Deuteranopia (green-blind)
#4789F1
Tritanopia (blue-blind)
#00A4B4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5a8df3;
/* rgb */ color: rgb(90, 141, 243);
/* oklch */ color: oklch(65.6% 0.162 262.7);
Tailwind
colors: {
  custom: {
    50: '#96adf7',
    500: '#5a8df3',
    950: '#000000',
  },
}
SCSS
$custom: #5a8df3;
$custom-light: #96adf7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8df3",
  "rgb": {
    "r": 90,
    "g": 141,
    "b": 243
  },
  "hsl": {
    "h": 220,
    "s": 86.441,
    "l": 65.294
  },
  "oklch": {
    "l": 0.65645,
    "c": 0.16188,
    "h": 262.7
  },
  "luminance": 0.27694
}

Semantic roles & 50–950 ramp

primary
#5A8DF3
secondary
#EEDDBB
accent
#9803E3
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5A8DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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