#5A95E8#5A95E8

#5A95E8 is a light, vivid blue. Relative luminance 0.295; OKLCH L 66.7% C 0.139 H 257.2°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#5A95E8
RGBrgb(90, 149, 232)
HSLhsl(215, 76%, 63%)
HSVhsv(215, 61%, 91%)
CMYKcmyk(61.2%, 35.8%, 0%, 9%)
CIE-LABlab(61.21, 5.81, -47.69)
CIE-LCHlch(61.21, 48.05, 276.94°)
OKLaboklab(66.7% -0.0308 -0.1352)
OKLCHoklch(66.7% 0.139 257.2)
XYZxyz(29.5242, 29.4920, 80.4649)
Luminance0.2949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A95E8 #E8AD5A
analogous
#5ADCE8 #5A95E8 #665AE8
triadic
#5A95E8 #E85A95 #95E85A
tetradic
#5A95E8 #E85ADC #E8AD5A #5AE866
square
#5A95E8 #E85ADC #E8AD5A #5AE866
split-complementary
#5A95E8 #E8665A #DCE85A
monochromatic
#1857AF #2472E1 #5A95E8 #90B8EF #C5DAF7

Accessibility & contrast

On white

3.04
#5A95E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#5A95E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A95E8
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A95E8#FFFFFF#000000##000000
##5A95E81.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#719BEB
Deuteranopia (green-blind)
#5E8EE6
Tritanopia (blue-blind)
#00A8B3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5a95e8;
/* rgb */ color: rgb(90, 149, 232);
/* oklch */ color: oklch(66.7% 0.139 257.2);
Tailwind
colors: {
  custom: {
    50: '#94b3f0',
    500: '#5a95e8',
    950: '#000000',
  },
}
SCSS
$custom: #5a95e8;
$custom-light: #94b3f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a95e8",
  "rgb": {
    "r": 90,
    "g": 149,
    "b": 232
  },
  "hsl": {
    "h": 215.07,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66701,
    "c": 0.13868,
    "h": 257.2
  },
  "luminance": 0.29495
}

Semantic roles & 50–950 ramp

primary
#5A95E8
secondary
#E8D3B5
accent
#840ED8
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5A95E8

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

Preview Lab → · Contrast checker → · Palette generator →

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