#5A95EF#5A95EF

#5A95EF is a light, vivid blue. Relative luminance 0.299; OKLCH L 67.1% C 0.148 H 258.6°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#5A95EF
RGBrgb(90, 149, 239)
HSLhsl(216, 82%, 65%)
HSVhsv(216, 62%, 94%)
CMYKcmyk(62.3%, 37.7%, 0%, 6.3%)
CIE-LABlab(61.57, 8.12, -51.00)
CIE-LCHlch(61.57, 51.64, 279.05°)
OKLaboklab(67.09% -0.0292 -0.1449)
OKLCHoklch(67.09% 0.148 258.6)
XYZxyz(30.5383, 29.8977, 85.8061)
Luminance0.2990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A95EF #EFB45A
analogous
#5ADFEF #5A95EF #6A5AEF
triadic
#5A95EF #EF5A95 #95EF5A
tetradic
#5A95EF #EF5ADF #EFB45A #5AEF6A
square
#5A95EF #EF5ADF #EFB45A #5AEF6A
split-complementary
#5A95EF #EF6A5A #DFEF5A
monochromatic
#1256BC #2271EA #5A95EF #92B9F4 #CADDFA

Accessibility & contrast

On white

3.01
#5A95EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#5A95EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A95EF
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A95EF#FFFFFF#000000##000000
##5A95EF1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9CF3
Deuteranopia (green-blind)
#598EED
Tritanopia (blue-blind)
#00A9B6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5a95ef;
/* rgb */ color: rgb(90, 149, 239);
/* oklch */ color: oklch(67.1% 0.148 258.6);
Tailwind
colors: {
  custom: {
    50: '#95b3f5',
    500: '#5a95ef',
    950: '#000000',
  },
}
SCSS
$custom: #5a95ef;
$custom-light: #95b3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a95ef",
  "rgb": {
    "r": 90,
    "g": 149,
    "b": 239
  },
  "hsl": {
    "h": 216.242,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6709,
    "c": 0.14781,
    "h": 258.6
  },
  "luminance": 0.29901
}

Semantic roles & 50–950 ramp

primary
#5A95EF
secondary
#ECD8B9
accent
#8907DF
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5A95EF

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

Preview Lab → · Contrast checker → · Palette generator →

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