#5A95EC#5A95EC

#5A95EC is a light, vivid blue. Relative luminance 0.297; OKLCH L 66.9% C 0.144 H 258.0°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#5A95EC
RGBrgb(90, 149, 236)
HSLhsl(216, 79%, 64%)
HSVhsv(216, 62%, 93%)
CMYKcmyk(61.9%, 36.9%, 0%, 7.5%)
CIE-LABlab(61.41, 7.13, -49.59)
CIE-LCHlch(61.41, 50.10, 278.18°)
OKLaboklab(66.92% -0.0299 -0.1407)
OKLCHoklch(66.92% 0.144 258)
XYZxyz(30.0988, 29.7219, 83.4913)
Luminance0.2973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A95EC #ECB15A
analogous
#5ADEEC #5A95EC #685AEC
triadic
#5A95EC #EC5A95 #95EC5A
tetradic
#5A95EC #EC5ADE #ECB15A #5AEC68
square
#5A95EC #EC5ADE #ECB15A #5AEC68
split-complementary
#5A95EC #EC685A #DEEC5A
monochromatic
#1556B7 #2372E6 #5A95EC #91B8F2 #C8DCF9

Accessibility & contrast

On white

3.02
#5A95EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#5A95EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A95EC
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A95EC#FFFFFF#000000##000000
##5A95EC1.003.026.946.94
#FFFFFF3.021.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9CF0
Deuteranopia (green-blind)
#5B8EEA
Tritanopia (blue-blind)
#00A9B5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5a95ec;
/* rgb */ color: rgb(90, 149, 236);
/* oklch */ color: oklch(66.9% 0.144 258.0);
Tailwind
colors: {
  custom: {
    50: '#95b3f2',
    500: '#5a95ec',
    950: '#000000',
  },
}
SCSS
$custom: #5a95ec;
$custom-light: #95b3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a95ec",
  "rgb": {
    "r": 90,
    "g": 149,
    "b": 236
  },
  "hsl": {
    "h": 215.753,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66922,
    "c": 0.14389,
    "h": 258
  },
  "luminance": 0.29725
}

Semantic roles & 50–950 ramp

primary
#5A95EC
secondary
#EBD6B7
accent
#870ADC
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5A95EC

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

Preview Lab → · Contrast checker → · Palette generator →

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