#5A8CEC#5A8CEC

#5A8CEC is a light, vivid blue. Relative luminance 0.270; OKLCH L 65.0% C 0.154 H 262.2°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#5A8CEC
RGBrgb(90, 140, 236)
HSLhsl(219, 79%, 64%)
HSVhsv(219, 62%, 93%)
CMYKcmyk(61.9%, 40.7%, 0%, 7.5%)
CIE-LABlab(58.96, 12.46, -53.49)
CIE-LCHlch(58.96, 54.92, 283.11°)
OKLaboklab(65.02% -0.0208 -0.1523)
OKLCHoklch(65.02% 0.154 262.2)
XYZxyz(28.7296, 26.9833, 83.0349)
Luminance0.2699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8CEC #ECBA5A
analogous
#5AD5EC #5A8CEC #715AEC
triadic
#5A8CEC #EC5A8C #8CEC5A
tetradic
#5A8CEC #EC5AD5 #ECBA5A #5AEC71
square
#5A8CEC #EC5AD5 #ECBA5A #5AEC71
split-complementary
#5A8CEC #EC715A #D5EC5A
monochromatic
#154CB7 #2366E6 #5A8CEC #91B2F2 #C8D9F9

Accessibility & contrast

On white

3.28
#5A8CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#5A8CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8CEC
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8CEC#FFFFFF#000000##000000
##5A8CEC1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6195F0
Deuteranopia (green-blind)
#4C88EA
Tritanopia (blue-blind)
#00A2B0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5a8cec;
/* rgb */ color: rgb(90, 140, 236);
/* oklch */ color: oklch(65.0% 0.154 262.2);
Tailwind
colors: {
  custom: {
    50: '#95adf2',
    500: '#5a8cec',
    950: '#000000',
  },
}
SCSS
$custom: #5a8cec;
$custom-light: #95adf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8cec",
  "rgb": {
    "r": 90,
    "g": 140,
    "b": 236
  },
  "hsl": {
    "h": 219.452,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.65019,
    "c": 0.15369,
    "h": 262.2
  },
  "luminance": 0.26986
}

Semantic roles & 50–950 ramp

primary
#5A8CEC
secondary
#EBD9B7
accent
#940ADC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5A8CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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