#5A8AFB#5A8AFB

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

Color values

HEX#5A8AFB
RGBrgb(90, 138, 251)
HSLhsl(222, 95%, 67%)
HSVhsv(222, 64%, 98%)
CMYKcmyk(64.1%, 45%, 0%, 1.6%)
CIE-LABlab(59.26, 18.69, -61.28)
CIE-LCHlch(59.26, 64.07, 286.96°)
OKLaboklab(65.52% -0.0163 -0.1752)
OKLCHoklch(65.52% 0.176 264.7)
XYZxyz(30.7115, 27.3128, 94.9015)
Luminance0.2732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8AFB #FBCB5A
analogous
#5ADAFB #5A8AFB #7B5AFB
triadic
#5A8AFB #FB5A8A #8AFB5A
tetradic
#5A8AFB #FB5ADA #FBCB5A #5AFB7B
square
#5A8AFB #FB5ADA #FBCB5A #5AFB7B
split-complementary
#5A8AFB #FB7B5A #DAFB5A
monochromatic
#0543D5 #1E60FA #5A8AFB #96B4FC #D2DFFE

Accessibility & contrast

On white

3.25
#5A8AFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#5A8AFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8AFB
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8AFB#FFFFFF#000000##000000
##5A8AFB1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5397FF
Deuteranopia (green-blind)
#3688F9
Tritanopia (blue-blind)
#00A4B6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5a8afb;
/* rgb */ color: rgb(90, 138, 251);
/* oklch */ color: oklch(65.5% 0.176 264.7);
Tailwind
colors: {
  custom: {
    50: '#97abfd',
    500: '#5a8afb',
    950: '#000000',
  },
}
SCSS
$custom: #5a8afb;
$custom-light: #97abfd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8afb",
  "rgb": {
    "r": 90,
    "g": 138,
    "b": 251
  },
  "hsl": {
    "h": 222.112,
    "s": 95.266,
    "l": 66.863
  },
  "oklch": {
    "l": 0.65524,
    "c": 0.17594,
    "h": 264.7
  },
  "luminance": 0.27316
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A8AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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