#5F95FC#5F95FC

#5F95FC is a light, vivid blue. Relative luminance 0.310; OKLCH L 68.1% C 0.163 H 262.1°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#5F95FC
RGBrgb(95, 149, 252)
HSLhsl(219, 96%, 68%)
HSVhsv(219, 62%, 99%)
CMYKcmyk(62.3%, 40.9%, 0%, 1.2%)
CIE-LABlab(62.47, 13.31, -56.70)
CIE-LCHlch(62.47, 58.24, 283.21°)
OKLaboklab(68.07% -0.0224 -0.1615)
OKLCHoklch(68.07% 0.163 262.1)
XYZxyz(33.0313, 30.9530, 96.3104)
Luminance0.3096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F95FC #FCC65F
analogous
#5FE3FC #5F95FC #775FFC
triadic
#5F95FC #FC5F95 #95FC5F
tetradic
#5F95FC #FC5FE3 #FCC65F #5FFC77
square
#5F95FC #FC5FE3 #FCC65F #5FFC77
split-complementary
#5F95FC #FC775F #E3FC5F
monochromatic
#044FDC #236DFB #5F95FC #9BBDFD #D7E5FE

Accessibility & contrast

On white

2.92
#5F95FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#5F95FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F95FC
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F95FC#FFFFFF#000000##000000
##5F95FC1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#679FFF
Deuteranopia (green-blind)
#4F90FA
Tritanopia (blue-blind)
#00ACBC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5f95fc;
/* rgb */ color: rgb(95, 149, 252);
/* oklch */ color: oklch(68.1% 0.163 262.1);
Tailwind
colors: {
  custom: {
    50: '#9ab3fe',
    500: '#5f95fc',
    950: '#000000',
  },
}
SCSS
$custom: #5f95fc;
$custom-light: #9ab3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#5f95fc",
  "rgb": {
    "r": 95,
    "g": 149,
    "b": 252
  },
  "hsl": {
    "h": 219.363,
    "s": 96.319,
    "l": 68.039
  },
  "oklch": {
    "l": 0.68071,
    "c": 0.16304,
    "h": 262.1
  },
  "luminance": 0.30956
}

Semantic roles & 50–950 ramp

primary
#5F95FC
secondary
#F3E3C3
accent
#9700E6
background
#FAFAFF
surface
#F4F5FF
border
#CECFD7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5F95FC

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

Preview Lab → · Contrast checker → · Palette generator →

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