#5F8FEF#5F8FEF

#5F8FEF is a light, vivid blue. Relative luminance 0.283; OKLCH L 66.1% C 0.153 H 262.9°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#5F8FEF
RGBrgb(95, 143, 239)
HSLhsl(220, 82%, 65%)
HSVhsv(220, 60%, 94%)
CMYKcmyk(60.3%, 40.2%, 0%, 6.3%)
CIE-LABlab(60.17, 12.57, -53.21)
CIE-LCHlch(60.17, 54.68, 283.29°)
OKLaboklab(66.07% -0.019 -0.1514)
OKLCHoklch(66.07% 0.153 262.9)
XYZxyz(30.1164, 28.3072, 85.5214)
Luminance0.2831 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8FEF #EFBF5F
analogous
#5FD7EF #5F8FEF #775FEF
triadic
#5F8FEF #EF5F8F #8FEF5F
tetradic
#5F8FEF #EF5FD7 #EFBF5F #5FEF77
square
#5F8FEF #EF5FD7 #EFBF5F #5FEF77
split-complementary
#5F8FEF #EF775F #D7EF5F
monochromatic
#134DC0 #2768E9 #5F8FEF #97B6F5 #CEDDFA

Accessibility & contrast

On white

3.15
#5F8FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#5F8FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8FEF
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8FEF#FFFFFF#000000##000000
##5F8FEF1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6598F3
Deuteranopia (green-blind)
#518BED
Tritanopia (blue-blind)
#00A5B3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5f8fef;
/* rgb */ color: rgb(95, 143, 239);
/* oklch */ color: oklch(66.1% 0.153 262.9);
Tailwind
colors: {
  custom: {
    50: '#98aff5',
    500: '#5f8fef',
    950: '#000000',
  },
}
SCSS
$custom: #5f8fef;
$custom-light: #98aff5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8fef",
  "rgb": {
    "r": 95,
    "g": 143,
    "b": 239
  },
  "hsl": {
    "h": 220,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.66067,
    "c": 0.15253,
    "h": 262.9
  },
  "luminance": 0.2831
}

Semantic roles & 50–950 ramp

primary
#5F8FEF
secondary
#EDDDBD
accent
#9707DE
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5F8FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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