#5A8BEA#5A8BEA

#5A8BEA is a light, vivid blue. Relative luminance 0.266; OKLCH L 64.7% C 0.152 H 262.4°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#5A8BEA
RGBrgb(90, 139, 234)
HSLhsl(220, 77%, 64%)
HSVhsv(220, 62%, 92%)
CMYKcmyk(61.5%, 40.6%, 0%, 8.2%)
CIE-LABlab(58.58, 12.39, -52.98)
CIE-LCHlch(58.58, 54.41, 283.16°)
OKLaboklab(64.69% -0.0202 -0.1508)
OKLCHoklch(64.69% 0.152 262.4)
XYZxyz(28.2952, 26.5769, 81.4647)
Luminance0.2658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8BEA #EAB95A
analogous
#5AD3EA #5A8BEA #715AEA
triadic
#5A8BEA #EA5A8B #8BEA5A
tetradic
#5A8BEA #EA5AD3 #EAB95A #5AEA71
square
#5A8BEA #EA5AD3 #EAB95A #5AEA71
split-complementary
#5A8BEA #EA715A #D3EA5A
monochromatic
#174CB3 #2465E3 #5A8BEA #90B1F1 #C7D7F8

Accessibility & contrast

On white

3.32
#5A8BEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#5A8BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8BEA
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8BEA#FFFFFF#000000##000000
##5A8BEA1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6194EE
Deuteranopia (green-blind)
#4C87E8
Tritanopia (blue-blind)
#00A0AF
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5a8bea;
/* rgb */ color: rgb(90, 139, 234);
/* oklch */ color: oklch(64.7% 0.152 262.4);
Tailwind
colors: {
  custom: {
    50: '#95acf1',
    500: '#5a8bea',
    950: '#000000',
  },
}
SCSS
$custom: #5a8bea;
$custom-light: #95acf1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8bea",
  "rgb": {
    "r": 90,
    "g": 139,
    "b": 234
  },
  "hsl": {
    "h": 219.583,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.64692,
    "c": 0.15215,
    "h": 262.4
  },
  "luminance": 0.26579
}

Semantic roles & 50–950 ramp

primary
#5A8BEA
secondary
#E9D8B6
accent
#940CDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5A8BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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