#5D96F2#5D96F2

#5D96F2 is a light, vivid blue. Relative luminance 0.306; OKLCH L 67.6% C 0.150 H 259.6°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#5D96F2
RGBrgb(93, 150, 242)
HSLhsl(217, 85%, 66%)
HSVhsv(217, 62%, 95%)
CMYKcmyk(61.6%, 38%, 0%, 5.1%)
CIE-LABlab(62.12, 9.06, -51.76)
CIE-LCHlch(62.12, 52.55, 279.93°)
OKLaboklab(67.61% -0.0271 -0.147)
OKLCHoklch(67.61% 0.15 259.6)
XYZxyz(31.4419, 30.5478, 88.2265)
Luminance0.3055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D96F2 #F2B95D
analogous
#5DE0F2 #5D96F2 #6E5DF2
triadic
#5D96F2 #F25D96 #96F25D
tetradic
#5D96F2 #F25DE0 #F2B95D #5DF26E
square
#5D96F2 #F25DE0 #F2B95D #5DF26E
split-complementary
#5D96F2 #F26E5D #E0F25D
monochromatic
#1055C5 #2471ED #5D96F2 #96BBF7 #CEDFFB

Accessibility & contrast

On white

2.95
#5D96F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#5D96F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5D96F2
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D96F2#FFFFFF#000000##000000
##5D96F21.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9EF6
Deuteranopia (green-blind)
#5990F0
Tritanopia (blue-blind)
#00ABB8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5d96f2;
/* rgb */ color: rgb(93, 150, 242);
/* oklch */ color: oklch(67.6% 0.150 259.6);
Tailwind
colors: {
  custom: {
    50: '#97b4f7',
    500: '#5d96f2',
    950: '#000000',
  },
}
SCSS
$custom: #5d96f2;
$custom-light: #97b4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d96f2",
  "rgb": {
    "r": 93,
    "g": 150,
    "b": 242
  },
  "hsl": {
    "h": 217.047,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.6761,
    "c": 0.14953,
    "h": 259.6
  },
  "luminance": 0.30551
}

Semantic roles & 50–950 ramp

primary
#5D96F2
secondary
#EEDBBD
accent
#8D04E2
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5D96F2

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

Preview Lab → · Contrast checker → · Palette generator →

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