#5A8CF4#5A8CF4

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

Color values

HEX#5A8CF4
RGBrgb(90, 140, 244)
HSLhsl(221, 88%, 65%)
HSVhsv(221, 63%, 96%)
CMYKcmyk(63.1%, 42.6%, 0%, 4.3%)
CIE-LABlab(59.40, 15.14, -57.21)
CIE-LCHlch(59.40, 59.18, 284.82°)
OKLaboklab(65.5% -0.0193 -0.1632)
OKLCHoklch(65.5% 0.164 263.2)
XYZxyz(29.9180, 27.4587, 89.2938)
Luminance0.2746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8CF4 #F4C25A
analogous
#5AD9F4 #5A8CF4 #755AF4
triadic
#5A8CF4 #F45A8C #8CF45A
tetradic
#5A8CF4 #F45AD9 #F4C25A #5AF475
square
#5A8CF4 #F45AD9 #F4C25A #5AF475
split-complementary
#5A8CF4 #F4755A #D9F45A
monochromatic
#0D49C6 #2164F0 #5A8CF4 #93B4F8 #CDDCFC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A8CF4#FFFFFF#000000##000000
##5A8CF41.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C97F8
Deuteranopia (green-blind)
#4488F2
Tritanopia (blue-blind)
#00A4B4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5a8cf4;
/* rgb */ color: rgb(90, 140, 244);
/* oklch */ color: oklch(65.5% 0.164 263.2);
Tailwind
colors: {
  custom: {
    50: '#96adf8',
    500: '#5a8cf4',
    950: '#000000',
  },
}
SCSS
$custom: #5a8cf4;
$custom-light: #96adf8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8cf4",
  "rgb": {
    "r": 90,
    "g": 140,
    "b": 244
  },
  "hsl": {
    "h": 220.519,
    "s": 87.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.65499,
    "c": 0.16435,
    "h": 263.2
  },
  "luminance": 0.27461
}

Semantic roles & 50–950 ramp

primary
#5A8CF4
secondary
#EFDEBB
accent
#9A01E4
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5A8CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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