#5995F6#5995F6

#5995F6 is a light, vivid blue. Relative luminance 0.303; OKLCH L 67.4% C 0.157 H 259.6°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#5995F6
RGBrgb(89, 149, 246)
HSLhsl(217, 90%, 66%)
HSVhsv(217, 64%, 96%)
CMYKcmyk(63.8%, 39.4%, 0%, 3.5%)
CIE-LABlab(61.89, 10.28, -54.35)
CIE-LCHlch(61.89, 55.31, 280.71°)
OKLaboklab(67.44% -0.0285 -0.1547)
OKLCHoklch(67.44% 0.157 259.6)
XYZxyz(31.4959, 30.2695, 91.3537)
Luminance0.3027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5995F6 #F6BA59
analogous
#59E3F6 #5995F6 #6B59F6
triadic
#5995F6 #F65995 #95F659
tetradic
#5995F6 #F659E3 #F6BA59 #59F66B
square
#5995F6 #F659E3 #F6BA59 #59F66B
split-complementary
#5995F6 #F66B59 #E3F659
monochromatic
#0B54CA #1F70F3 #5995F6 #93BAF9 #CDDFFC

Accessibility & contrast

On white

2.98
#5995F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#5995F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5995F6
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5995F6#FFFFFF#000000##000000
##5995F61.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9DFA
Deuteranopia (green-blind)
#528FF4
Tritanopia (blue-blind)
#00ABBA
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5995f6;
/* rgb */ color: rgb(89, 149, 246);
/* oklch */ color: oklch(67.4% 0.157 259.6);
Tailwind
colors: {
  custom: {
    50: '#96b3f9',
    500: '#5995f6',
    950: '#000000',
  },
}
SCSS
$custom: #5995f6;
$custom-light: #96b3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5995f6",
  "rgb": {
    "r": 89,
    "g": 149,
    "b": 246
  },
  "hsl": {
    "h": 217.07,
    "s": 89.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.67445,
    "c": 0.1573,
    "h": 259.6
  },
  "luminance": 0.30273
}

Semantic roles & 50–950 ramp

primary
#5995F6
secondary
#F0DCBB
accent
#8E00E6
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5995F6

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

Preview Lab → · Contrast checker → · Palette generator →

#5995F6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva