#5A95F9#5A95F9

#5A95F9 is a light, vivid blue. Relative luminance 0.305; OKLCH L 67.7% C 0.161 H 260.3°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#5A95F9
RGBrgb(90, 149, 249)
HSLhsl(218, 93%, 66%)
HSVhsv(218, 64%, 98%)
CMYKcmyk(63.9%, 40.2%, 0%, 2.4%)
CIE-LABlab(62.09, 11.46, -55.67)
CIE-LCHlch(62.09, 56.84, 281.63°)
OKLaboklab(67.66% -0.0271 -0.1586)
OKLCHoklch(67.66% 0.161 260.3)
XYZxyz(32.0567, 30.5050, 93.8028)
Luminance0.3051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A95F9 #F9BE5A
analogous
#5AE4F9 #5A95F9 #6F5AF9
triadic
#5A95F9 #F95A95 #95F95A
tetradic
#5A95F9 #F95AE4 #F9BE5A #5AF96F
square
#5A95F9 #F95AE4 #F9BE5A #5AF96F
split-complementary
#5A95F9 #F96F5A #E4F95A
monochromatic
#0852D1 #1F6FF7 #5A95F9 #95BBFB #D0E1FD

Accessibility & contrast

On white

2.96
#5A95F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#5A95F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A95F9
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A95F9#FFFFFF#000000##000000
##5A95F91.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#689EFD
Deuteranopia (green-blind)
#508FF7
Tritanopia (blue-blind)
#00ACBB
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5a95f9;
/* rgb */ color: rgb(90, 149, 249);
/* oklch */ color: oklch(67.7% 0.161 260.3);
Tailwind
colors: {
  custom: {
    50: '#97b3fc',
    500: '#5a95f9',
    950: '#000000',
  },
}
SCSS
$custom: #5a95f9;
$custom-light: #97b3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a95f9",
  "rgb": {
    "r": 90,
    "g": 149,
    "b": 249
  },
  "hsl": {
    "h": 217.736,
    "s": 92.982,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67665,
    "c": 0.16087,
    "h": 260.3
  },
  "luminance": 0.30508
}

Semantic roles & 50–950 ramp

primary
#5A95F9
secondary
#F1DEBE
accent
#9000E6
background
#FAFAFF
surface
#F3F5FF
border
#CDCFD7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5A95F9

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

Preview Lab → · Contrast checker → · Palette generator →

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