#5D95F2#5D95F2

#5D95F2 is a light, vivid blue. Relative luminance 0.302; OKLCH L 67.4% C 0.151 H 260.0°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#5D95F2
RGBrgb(93, 149, 242)
HSLhsl(217, 85%, 66%)
HSVhsv(217, 62%, 95%)
CMYKcmyk(61.6%, 38.4%, 0%, 5.1%)
CIE-LABlab(61.85, 9.65, -52.19)
CIE-LCHlch(61.85, 53.08, 280.47°)
OKLaboklab(67.4% -0.0261 -0.1483)
OKLCHoklch(67.4% 0.151 260)
XYZxyz(31.2830, 30.2300, 88.1736)
Luminance0.3023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D95F2 #F2BA5D
analogous
#5DDFF2 #5D95F2 #6F5DF2
triadic
#5D95F2 #F25D95 #95F25D
tetradic
#5D95F2 #F25DDF #F2BA5D #5DF26F
square
#5D95F2 #F25DDF #F2BA5D #5DF26F
split-complementary
#5D95F2 #F26F5D #DFF25D
monochromatic
#1054C5 #2470ED #5D95F2 #96BAF7 #CEDFFB

Accessibility & contrast

On white

2.98
#5D95F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#5D95F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5D95F2
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D95F2#FFFFFF#000000##000000
##5D95F21.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)
#6C9DF6
Deuteranopia (green-blind)
#588FF0
Tritanopia (blue-blind)
#00AAB8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5d95f2;
/* rgb */ color: rgb(93, 149, 242);
/* oklch */ color: oklch(67.4% 0.151 260.0);
Tailwind
colors: {
  custom: {
    50: '#97b3f7',
    500: '#5d95f2',
    950: '#000000',
  },
}
SCSS
$custom: #5d95f2;
$custom-light: #97b3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d95f2",
  "rgb": {
    "r": 93,
    "g": 149,
    "b": 242
  },
  "hsl": {
    "h": 217.45,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.67399,
    "c": 0.1506,
    "h": 260
  },
  "luminance": 0.30233
}

Semantic roles & 50–950 ramp

primary
#5D95F2
secondary
#EEDCBD
accent
#8E04E2
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5D95F2

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

Preview Lab → · Contrast checker → · Palette generator →

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