#5A8AFA#5A8AFA

#5A8AFA is a light, vivid blue. Relative luminance 0.273; OKLCH L 65.5% C 0.175 H 264.6°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#5A8AFA
RGBrgb(90, 138, 250)
HSLhsl(222, 94%, 67%)
HSVhsv(222, 64%, 98%)
CMYKcmyk(64%, 44.8%, 0%, 2%)
CIE-LABlab(59.20, 18.36, -60.82)
CIE-LCHlch(59.20, 63.53, 286.79°)
OKLaboklab(65.46% -0.0164 -0.1738)
OKLCHoklch(65.46% 0.175 264.6)
XYZxyz(30.5542, 27.2499, 94.0735)
Luminance0.2725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8AFA #FACA5A
analogous
#5ADAFA #5A8AFA #7A5AFA
triadic
#5A8AFA #FA5A8A #8AFA5A
tetradic
#5A8AFA #FA5ADA #FACA5A #5AFA7A
square
#5A8AFA #FA5ADA #FACA5A #5AFA7A
split-complementary
#5A8AFA #FA7A5A #DAFA5A
monochromatic
#0644D3 #1F60F8 #5A8AFA #95B4FC #D1DEFE

Accessibility & contrast

On white

3.26
#5A8AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#5A8AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8AFA
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8AFA#FFFFFF#000000##000000
##5A8AFA1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5396FE
Deuteranopia (green-blind)
#3788F8
Tritanopia (blue-blind)
#00A4B6
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5a8afa;
/* rgb */ color: rgb(90, 138, 250);
/* oklch */ color: oklch(65.5% 0.175 264.6);
Tailwind
colors: {
  custom: {
    50: '#97abfc',
    500: '#5a8afa',
    950: '#000000',
  },
}
SCSS
$custom: #5a8afa;
$custom-light: #97abfc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8afa",
  "rgb": {
    "r": 90,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 222,
    "s": 94.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65461,
    "c": 0.17462,
    "h": 264.6
  },
  "luminance": 0.27253
}

Semantic roles & 50–950 ramp

primary
#5A8AFA
secondary
#F2E2BE
accent
#A100E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #5A8AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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