#5A95FF#5A95FF

#5A95FF is a light, vivid blue. Relative luminance 0.309; OKLCH L 68.0% C 0.169 H 261.2°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#5A95FF
RGBrgb(90, 149, 255)
HSLhsl(219, 100%, 68%)
HSVhsv(219, 65%, 100%)
CMYKcmyk(64.7%, 41.6%, 0%, 0%)
CIE-LABlab(62.41, 13.47, -58.44)
CIE-LCHlch(62.41, 59.97, 282.98°)
OKLaboklab(68.02% -0.0259 -0.1667)
OKLCHoklch(68.02% 0.169 261.2)
XYZxyz(33.0075, 30.8854, 98.8103)
Luminance0.3089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A95FF #FFC45A
analogous
#5AE8FF #5A95FF #715AFF
triadic
#5A95FF #FF5A95 #95FF5A
tetradic
#5A95FF #FF5AE8 #FFC45A #5AFF71
square
#5A95FF #FF5AE8 #FFC45A #5AFF71
split-complementary
#5A95FF #FF715A #E8FF5A
monochromatic
#0050DF #1D6EFF #5A95FF #97BCFF #D4E4FF

Accessibility & contrast

On white

2.93
#5A95FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#5A95FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A95FF
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A95FF#FFFFFF#000000##000000
##5A95FF1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#649FFF
Deuteranopia (green-blind)
#4A90FD
Tritanopia (blue-blind)
#00ADBE
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5a95ff;
/* rgb */ color: rgb(90, 149, 255);
/* oklch */ color: oklch(68.0% 0.169 261.2);
Tailwind
colors: {
  custom: {
    50: '#98b3ff',
    500: '#5a95ff',
    950: '#000000',
  },
}
SCSS
$custom: #5a95ff;
$custom-light: #98b3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5a95ff",
  "rgb": {
    "r": 90,
    "g": 149,
    "b": 255
  },
  "hsl": {
    "h": 218.545,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.6802,
    "c": 0.1687,
    "h": 261.2
  },
  "luminance": 0.30889
}

Semantic roles & 50–950 ramp

primary
#5A95FF
secondary
#F4E2C1
accent
#9300E6
background
#FAFAFF
surface
#F3F5FF
border
#CDCFD7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5A95FF

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

Preview Lab → · Contrast checker → · Palette generator →

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