#5F95ED#5F95ED

#5F95ED is a light, vivid blue. Relative luminance 0.300; OKLCH L 67.2% C 0.143 H 259.7°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#5F95ED
RGBrgb(95, 149, 237)
HSLhsl(217, 80%, 65%)
HSVhsv(217, 60%, 93%)
CMYKcmyk(59.9%, 37.1%, 0%, 7.1%)
CIE-LABlab(61.69, 8.37, -49.69)
CIE-LCHlch(61.69, 50.39, 279.57°)
OKLaboklab(67.21% -0.0256 -0.141)
OKLCHoklch(67.21% 0.143 259.7)
XYZxyz(30.7475, 30.0395, 84.2822)
Luminance0.3004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F95ED #EDB75F
analogous
#5FDCED #5F95ED #705FED
triadic
#5F95ED #ED5F95 #95ED5F
tetradic
#5F95ED #ED5FDC #EDB75F #5FED70
square
#5F95ED #ED5FDC #EDB75F #5FED70
split-complementary
#5F95ED #ED705F #DCED5F
monochromatic
#1555BC #2871E7 #5F95ED #96B9F3 #CDDEF9

Accessibility & contrast

On white

3.00
#5F95ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#5F95ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F95ED
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F95ED#FFFFFF#000000##000000
##5F95ED1.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9CF1
Deuteranopia (green-blind)
#5C8FEB
Tritanopia (blue-blind)
#00A9B6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5f95ed;
/* rgb */ color: rgb(95, 149, 237);
/* oklch */ color: oklch(67.2% 0.143 259.7);
Tailwind
colors: {
  custom: {
    50: '#97b3f3',
    500: '#5f95ed',
    950: '#000000',
  },
}
SCSS
$custom: #5f95ed;
$custom-light: #97b3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f95ed",
  "rgb": {
    "r": 95,
    "g": 149,
    "b": 237
  },
  "hsl": {
    "h": 217.183,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67213,
    "c": 0.14327,
    "h": 259.7
  },
  "luminance": 0.30042
}

Semantic roles & 50–950 ramp

primary
#5F95ED
secondary
#ECDABC
accent
#8C09DC
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5F95ED

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

Preview Lab → · Contrast checker → · Palette generator →

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