#5A95F3#5A95F3

#5A95F3 is a light, vivid blue. Relative luminance 0.301; OKLCH L 67.3% C 0.153 H 259.3°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#5A95F3
RGBrgb(90, 149, 243)
HSLhsl(217, 86%, 65%)
HSVhsv(217, 63%, 95%)
CMYKcmyk(63%, 38.7%, 0%, 4.7%)
CIE-LABlab(61.77, 9.45, -52.88)
CIE-LCHlch(61.77, 53.71, 280.13°)
OKLaboklab(67.32% -0.0283 -0.1504)
OKLCHoklch(67.32% 0.153 259.3)
XYZxyz(31.1358, 30.1367, 88.9528)
Luminance0.3014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A95F3 #F3B85A
analogous
#5AE1F3 #5A95F3 #6B5AF3
triadic
#5A95F3 #F35A95 #95F35A
tetradic
#5A95F3 #F35AE1 #F3B85A #5AF36B
square
#5A95F3 #F35AE1 #F3B85A #5AF36B
split-complementary
#5A95F3 #F36B5A #E1F35A
monochromatic
#0E54C4 #2170EF #5A95F3 #93BAF7 #CCDEFB

Accessibility & contrast

On white

2.99
#5A95F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#5A95F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A95F3
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A95F3#FFFFFF#000000##000000
##5A95F31.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9DF7
Deuteranopia (green-blind)
#558FF1
Tritanopia (blue-blind)
#00AAB8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5a95f3;
/* rgb */ color: rgb(90, 149, 243);
/* oklch */ color: oklch(67.3% 0.153 259.3);
Tailwind
colors: {
  custom: {
    50: '#96b3f7',
    500: '#5a95f3',
    950: '#000000',
  },
}
SCSS
$custom: #5a95f3;
$custom-light: #96b3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a95f3",
  "rgb": {
    "r": 90,
    "g": 149,
    "b": 243
  },
  "hsl": {
    "h": 216.863,
    "s": 86.441,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67318,
    "c": 0.15303,
    "h": 259.3
  },
  "luminance": 0.3014
}

Semantic roles & 50–950 ramp

primary
#5A95F3
secondary
#EEDABB
accent
#8C03E3
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5A95F3

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

Preview Lab → · Contrast checker → · Palette generator →

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