#5995F8#5995F8

#5995F8 is a light, vivid blue. Relative luminance 0.304; OKLCH L 67.6% C 0.160 H 259.9°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#5995F8
RGBrgb(89, 149, 248)
HSLhsl(217, 92%, 66%)
HSVhsv(217, 64%, 97%)
CMYKcmyk(64.1%, 39.9%, 0%, 2.7%)
CIE-LABlab(61.99, 10.95, -55.28)
CIE-LCHlch(61.99, 56.35, 281.21°)
OKLaboklab(67.56% -0.0281 -0.1574)
OKLCHoklch(67.56% 0.16 259.9)
XYZxyz(31.8045, 30.3930, 92.9791)
Luminance0.3040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5995F8 #F8BC59
analogous
#59E5F8 #5995F8 #6C59F8
triadic
#5995F8 #F85995 #95F859
tetradic
#5995F8 #F859E5 #F8BC59 #59F86C
square
#5995F8 #F859E5 #F8BC59 #59F86C
split-complementary
#5995F8 #F86C59 #E5F859
monochromatic
#0953CE #1E70F6 #5995F8 #94BAFA #CEE0FD

Accessibility & contrast

On white

2.97
#5995F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#5995F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5995F8
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5995F8#FFFFFF#000000##000000
##5995F81.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)
#689EFC
Deuteranopia (green-blind)
#518FF6
Tritanopia (blue-blind)
#00ACBA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5995f8;
/* rgb */ color: rgb(89, 149, 248);
/* oklch */ color: oklch(67.6% 0.160 259.9);
Tailwind
colors: {
  custom: {
    50: '#96b3fb',
    500: '#5995f8',
    950: '#000000',
  },
}
SCSS
$custom: #5995f8;
$custom-light: #96b3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5995f8",
  "rgb": {
    "r": 89,
    "g": 149,
    "b": 248
  },
  "hsl": {
    "h": 217.358,
    "s": 91.908,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67562,
    "c": 0.15991,
    "h": 259.9
  },
  "luminance": 0.30396
}

Semantic roles & 50–950 ramp

primary
#5995F8
secondary
#F1DDBC
accent
#8F00E6
background
#F9FAFF
surface
#F2F5FF
border
#CCCFD7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5995F8

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

Preview Lab → · Contrast checker → · Palette generator →

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