#5A8CE3#5A8CE3

#5A8CE3 is a light, vivid blue. Relative luminance 0.265; OKLCH L 64.5% C 0.142 H 260.8°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#5A8CE3
RGBrgb(90, 140, 227)
HSLhsl(218, 71%, 62%)
HSVhsv(218, 60%, 89%)
CMYKcmyk(60.4%, 38.3%, 0%, 11%)
CIE-LABlab(58.48, 9.47, -49.24)
CIE-LCHlch(58.48, 50.14, 280.88°)
OKLaboklab(64.5% -0.0227 -0.1398)
OKLCHoklch(64.5% 0.142 260.8)
XYZxyz(27.4548, 26.4734, 76.3212)
Luminance0.2648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8CE3 #E3B15A
analogous
#5AD1E3 #5A8CE3 #6D5AE3
triadic
#5A8CE3 #E35A8C #8CE35A
tetradic
#5A8CE3 #E35AD1 #E3B15A #5AE36D
square
#5A8CE3 #E35AD1 #E3B15A #5AE36D
split-complementary
#5A8CE3 #E36D5A #D1E35A
monochromatic
#1C4FA6 #2668DA #5A8CE3 #8EB0EC #C3D5F5

Accessibility & contrast

On white

3.34
#5A8CE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#5A8CE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8CE3
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8CE3#FFFFFF#000000##000000
##5A8CE31.003.346.306.30
#FFFFFF3.341.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6694E6
Deuteranopia (green-blind)
#5487E1
Tritanopia (blue-blind)
#00A0AD
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5a8ce3;
/* rgb */ color: rgb(90, 140, 227);
/* oklch */ color: oklch(64.5% 0.142 260.8);
Tailwind
colors: {
  custom: {
    50: '#94adec',
    500: '#5a8ce3',
    950: '#000000',
  },
}
SCSS
$custom: #5a8ce3;
$custom-light: #94adec;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8ce3",
  "rgb": {
    "r": 90,
    "g": 140,
    "b": 227
  },
  "hsl": {
    "h": 218.102,
    "s": 70.984,
    "l": 62.157
  },
  "oklch": {
    "l": 0.64497,
    "c": 0.14167,
    "h": 260.8
  },
  "luminance": 0.26476
}

Semantic roles & 50–950 ramp

primary
#5A8CE3
secondary
#E6D3B3
accent
#8D12D3
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5A8CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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