#5A8AF1#5A8AF1

#5A8AF1 is a light, vivid blue. Relative luminance 0.267; OKLCH L 64.9% C 0.163 H 263.7°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#5A8AF1
RGBrgb(90, 138, 241)
HSLhsl(221, 84%, 65%)
HSVhsv(221, 63%, 95%)
CMYKcmyk(62.7%, 42.7%, 0%, 5.5%)
CIE-LABlab(58.69, 15.33, -56.67)
CIE-LCHlch(58.69, 58.71, 285.14°)
OKLaboklab(64.9% -0.0179 -0.1617)
OKLCHoklch(64.9% 0.163 263.7)
XYZxyz(29.1766, 26.6988, 86.8178)
Luminance0.2670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8AF1 #F1C15A
analogous
#5AD6F1 #5A8AF1 #755AF1
triadic
#5A8AF1 #F15A8A #8AF15A
tetradic
#5A8AF1 #F15AD6 #F1C15A #5AF175
square
#5A8AF1 #F15AD6 #F1C15A #5AF175
split-complementary
#5A8AF1 #F1755A #D6F15A
monochromatic
#1048C0 #2262EC #5A8AF1 #92B2F6 #CBDAFB

Accessibility & contrast

On white

3.31
#5A8AF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#5A8AF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8AF1
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8AF1#FFFFFF#000000##000000
##5A8AF11.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A95F5
Deuteranopia (green-blind)
#4387EF
Tritanopia (blue-blind)
#00A1B2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5a8af1;
/* rgb */ color: rgb(90, 138, 241);
/* oklch */ color: oklch(64.9% 0.163 263.7);
Tailwind
colors: {
  custom: {
    50: '#96abf6',
    500: '#5a8af1',
    950: '#000000',
  },
}
SCSS
$custom: #5a8af1;
$custom-light: #96abf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8af1",
  "rgb": {
    "r": 90,
    "g": 138,
    "b": 241
  },
  "hsl": {
    "h": 220.927,
    "s": 84.358,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64904,
    "c": 0.16265,
    "h": 263.7
  },
  "luminance": 0.26701
}

Semantic roles & 50–950 ramp

primary
#5A8AF1
secondary
#EDDDBA
accent
#9B05E1
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5A8AF1

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

Preview Lab → · Contrast checker → · Palette generator →

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