#5F95EB#5F95EB

#5F95EB is a light, vivid blue. Relative luminance 0.299; OKLCH L 67.1% C 0.141 H 259.3°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#5F95EB
RGBrgb(95, 149, 235)
HSLhsl(217, 78%, 65%)
HSVhsv(217, 60%, 92%)
CMYKcmyk(59.6%, 36.6%, 0%, 7.8%)
CIE-LABlab(61.59, 7.72, -48.74)
CIE-LCHlch(61.59, 49.35, 279.00°)
OKLaboklab(67.1% -0.026 -0.1382)
OKLCHoklch(67.1% 0.141 259.3)
XYZxyz(30.4569, 29.9233, 82.7519)
Luminance0.2993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F95EB #EBB55F
analogous
#5FDBEB #5F95EB #6F5FEB
triadic
#5F95EB #EB5F95 #95EB5F
tetradic
#5F95EB #EB5FDB #EBB55F #5FEB6F
square
#5F95EB #EB5FDB #EBB55F #5FEB6F
split-complementary
#5F95EB #EB6F5F #DBEB5F
monochromatic
#1755B9 #2971E4 #5F95EB #95B9F2 #CCDDF9

Accessibility & contrast

On white

3.01
#5F95EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#5F95EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F95EB
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F95EB#FFFFFF#000000##000000
##5F95EB1.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#709CEE
Deuteranopia (green-blind)
#5E8FE9
Tritanopia (blue-blind)
#00A8B5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5f95eb;
/* rgb */ color: rgb(95, 149, 235);
/* oklch */ color: oklch(67.1% 0.141 259.3);
Tailwind
colors: {
  custom: {
    50: '#97b3f2',
    500: '#5f95eb',
    950: '#000000',
  },
}
SCSS
$custom: #5f95eb;
$custom-light: #97b3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f95eb",
  "rgb": {
    "r": 95,
    "g": 149,
    "b": 235
  },
  "hsl": {
    "h": 216.857,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67103,
    "c": 0.14064,
    "h": 259.3
  },
  "luminance": 0.29926
}

Semantic roles & 50–950 ramp

primary
#5F95EB
secondary
#EBD8BB
accent
#8A0BDA
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5F95EB

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

Preview Lab → · Contrast checker → · Palette generator →

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