#5A95F7#5A95F7

#5A95F7 is a light, vivid blue. Relative luminance 0.304; OKLCH L 67.5% C 0.158 H 260.0°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#5A95F7
RGBrgb(90, 149, 247)
HSLhsl(217, 91%, 66%)
HSVhsv(217, 64%, 97%)
CMYKcmyk(63.6%, 39.7%, 0%, 3.1%)
CIE-LABlab(61.98, 10.79, -54.74)
CIE-LCHlch(61.98, 55.79, 281.15°)
OKLaboklab(67.55% -0.0275 -0.1558)
OKLCHoklch(67.55% 0.158 260)
XYZxyz(31.7464, 30.3809, 92.1687)
Luminance0.3038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A95F7 #F7BC5A
analogous
#5AE3F7 #5A95F7 #6D5AF7
triadic
#5A95F7 #F75A95 #95F75A
tetradic
#5A95F7 #F75AE3 #F7BC5A #5AF76D
square
#5A95F7 #F75AE3 #F7BC5A #5AF76D
split-complementary
#5A95F7 #F76D5A #E3F75A
monochromatic
#0A53CD #2070F4 #5A95F7 #94BAFA #CFE0FD

Accessibility & contrast

On white

2.97
#5A95F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#5A95F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A95F7
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A95F7#FFFFFF#000000##000000
##5A95F71.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#699EFB
Deuteranopia (green-blind)
#528FF5
Tritanopia (blue-blind)
#00ABBA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5a95f7;
/* rgb */ color: rgb(90, 149, 247);
/* oklch */ color: oklch(67.5% 0.158 260.0);
Tailwind
colors: {
  custom: {
    50: '#96b3fa',
    500: '#5a95f7',
    950: '#000000',
  },
}
SCSS
$custom: #5a95f7;
$custom-light: #96b3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5a95f7",
  "rgb": {
    "r": 90,
    "g": 149,
    "b": 247
  },
  "hsl": {
    "h": 217.452,
    "s": 90.751,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67548,
    "c": 0.15825,
    "h": 260
  },
  "luminance": 0.30384
}

Semantic roles & 50–950 ramp

primary
#5A95F7
secondary
#F0DDBD
accent
#8F00E6
background
#F9FAFF
surface
#F2F5FF
border
#CCCFD7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5A95F7

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

Preview Lab → · Contrast checker → · Palette generator →

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