#5A95F4#5A95F4

#5A95F4 is a light, vivid blue. Relative luminance 0.302; OKLCH L 67.4% C 0.154 H 259.5°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#5A95F4
RGBrgb(90, 149, 244)
HSLhsl(217, 88%, 65%)
HSVhsv(217, 63%, 96%)
CMYKcmyk(63.1%, 38.9%, 0%, 4.3%)
CIE-LABlab(61.82, 9.78, -53.34)
CIE-LCHlch(61.82, 54.23, 280.39°)
OKLaboklab(67.38% -0.0281 -0.1517)
OKLCHoklch(67.38% 0.154 259.5)
XYZxyz(31.2872, 30.1973, 89.7502)
Luminance0.3020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A95F4 #F4B95A
analogous
#5AE2F4 #5A95F4 #6C5AF4
triadic
#5A95F4 #F45A95 #95F45A
tetradic
#5A95F4 #F45AE2 #F4B95A #5AF46C
square
#5A95F4 #F45AE2 #F4B95A #5AF46C
split-complementary
#5A95F4 #F46C5A #E2F45A
monochromatic
#0D54C6 #2170F0 #5A95F4 #93BAF8 #CDDFFC

Accessibility & contrast

On white

2.98
#5A95F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#5A95F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A95F4
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A95F4#FFFFFF#000000##000000
##5A95F41.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9DF8
Deuteranopia (green-blind)
#558FF2
Tritanopia (blue-blind)
#00ABB9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5a95f4;
/* rgb */ color: rgb(90, 149, 244);
/* oklch */ color: oklch(67.4% 0.154 259.5);
Tailwind
colors: {
  custom: {
    50: '#96b3f8',
    500: '#5a95f4',
    950: '#000000',
  },
}
SCSS
$custom: #5a95f4;
$custom-light: #96b3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a95f4",
  "rgb": {
    "r": 90,
    "g": 149,
    "b": 244
  },
  "hsl": {
    "h": 217.013,
    "s": 87.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67375,
    "c": 0.15433,
    "h": 259.5
  },
  "luminance": 0.302
}

Semantic roles & 50–950 ramp

primary
#5A95F4
secondary
#EFDBBB
accent
#8D01E4
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5A95F4

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

Preview Lab → · Contrast checker → · Palette generator →

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