#5A95EB#5A95EB

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

Color values

HEX#5A95EB
RGBrgb(90, 149, 235)
HSLhsl(216, 78%, 64%)
HSVhsv(216, 62%, 92%)
CMYKcmyk(61.7%, 36.6%, 0%, 7.8%)
CIE-LABlab(61.36, 6.80, -49.11)
CIE-LCHlch(61.36, 49.58, 277.88°)
OKLaboklab(66.87% -0.0301 -0.1394)
OKLCHoklch(66.87% 0.143 257.8)
XYZxyz(29.9540, 29.6639, 82.7283)
Luminance0.2967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A95EB #EBB05A
analogous
#5ADDEB #5A95EB #675AEB
triadic
#5A95EB #EB5A95 #95EB5A
tetradic
#5A95EB #EB5ADD #EBB05A #5AEB67
square
#5A95EB #EB5ADD #EBB05A #5AEB67
split-complementary
#5A95EB #EB675A #DDEB5A
monochromatic
#1657B5 #2372E4 #5A95EB #91B8F2 #C7DBF8

Accessibility & contrast

On white

3.03
#5A95EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#5A95EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A95EB
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A95EB#FFFFFF#000000##000000
##5A95EB1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#709CEF
Deuteranopia (green-blind)
#5C8EE9
Tritanopia (blue-blind)
#00A9B5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5a95eb;
/* rgb */ color: rgb(90, 149, 235);
/* oklch */ color: oklch(66.9% 0.143 257.8);
Tailwind
colors: {
  custom: {
    50: '#95b3f2',
    500: '#5a95eb',
    950: '#000000',
  },
}
SCSS
$custom: #5a95eb;
$custom-light: #95b3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a95eb",
  "rgb": {
    "r": 90,
    "g": 149,
    "b": 235
  },
  "hsl": {
    "h": 215.586,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66867,
    "c": 0.14259,
    "h": 257.8
  },
  "luminance": 0.29667
}

Semantic roles & 50–950 ramp

primary
#5A95EB
secondary
#EAD5B7
accent
#860BDB
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5A95EB

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

Preview Lab → · Contrast checker → · Palette generator →

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