#5A8FE3#5A8FE3

#5A8FE3 is a light, vivid blue. Relative luminance 0.274; OKLCH L 65.1% C 0.138 H 259.2°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#5A8FE3
RGBrgb(90, 143, 227)
HSLhsl(217, 71%, 62%)
HSVhsv(217, 60%, 89%)
CMYKcmyk(60.4%, 37%, 0%, 11%)
CIE-LABlab(59.31, 7.69, -47.93)
CIE-LCHlch(59.31, 48.55, 279.11°)
OKLaboklab(65.14% -0.0258 -0.136)
OKLCHoklch(65.14% 0.138 259.2)
XYZxyz(27.8992, 27.3621, 76.4693)
Luminance0.2737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8FE3 #E3AE5A
analogous
#5AD4E3 #5A8FE3 #6A5AE3
triadic
#5A8FE3 #E35A8F #8FE35A
tetradic
#5A8FE3 #E35AD4 #E3AE5A #5AE36A
square
#5A8FE3 #E35AD4 #E3AE5A #5AE36A
split-complementary
#5A8FE3 #E36A5A #D4E35A
monochromatic
#1C52A6 #266BDA #5A8FE3 #8EB3EC #C3D6F5

Accessibility & contrast

On white

3.24
#5A8FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#5A8FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8FE3
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8FE3#FFFFFF#000000##000000
##5A8FE31.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B96E6
Deuteranopia (green-blind)
#5989E1
Tritanopia (blue-blind)
#00A2AE
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5a8fe3;
/* rgb */ color: rgb(90, 143, 227);
/* oklch */ color: oklch(65.1% 0.138 259.2);
Tailwind
colors: {
  custom: {
    50: '#94afec',
    500: '#5a8fe3',
    950: '#000000',
  },
}
SCSS
$custom: #5a8fe3;
$custom-light: #94afec;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8fe3",
  "rgb": {
    "r": 90,
    "g": 143,
    "b": 227
  },
  "hsl": {
    "h": 216.788,
    "s": 70.984,
    "l": 62.157
  },
  "oklch": {
    "l": 0.65137,
    "c": 0.13841,
    "h": 259.2
  },
  "luminance": 0.27365
}

Semantic roles & 50–950 ramp

primary
#5A8FE3
secondary
#E6D2B3
accent
#8912D3
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5A8FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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