#5F8DFF#5F8DFF

#5F8DFF is a light, vivid blue. Relative luminance 0.287; OKLCH L 66.6% C 0.176 H 265.4°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#5F8DFF
RGBrgb(95, 141, 255)
HSLhsl(223, 100%, 69%)
HSVhsv(223, 63%, 100%)
CMYKcmyk(62.7%, 44.7%, 0%, 0%)
CIE-LABlab(60.52, 19.07, -61.46)
CIE-LCHlch(60.52, 64.35, 287.24°)
OKLaboklab(66.62% -0.0142 -0.1756)
OKLCHoklch(66.62% 0.176 265.4)
XYZxyz(32.2880, 28.6997, 98.4264)
Luminance0.2870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8DFF #FFD15F
analogous
#5FDDFF #5F8DFF #815FFF
triadic
#5F8DFF #FF5F8D #8DFF5F
tetradic
#5F8DFF #FF5FDD #FFD15F #5FFF81
square
#5F8DFF #FF5FDD #FFD15F #5FFF81
split-complementary
#5F8DFF #FF815F #DDFF5F
monochromatic
#0041E4 #2261FF #5F8DFF #9CB9FF #D9E4FF

Accessibility & contrast

On white

3.12
#5F8DFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#5F8DFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8DFF
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8DFF#FFFFFF#000000##000000
##5F8DFF1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#569AFF
Deuteranopia (green-blind)
#3B8BFD
Tritanopia (blue-blind)
#00A7BA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5f8dff;
/* rgb */ color: rgb(95, 141, 255);
/* oklch */ color: oklch(66.6% 0.176 265.4);
Tailwind
colors: {
  custom: {
    50: '#9aadff',
    500: '#5f8dff',
    950: '#000000',
  },
}
SCSS
$custom: #5f8dff;
$custom-light: #9aadff;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8dff",
  "rgb": {
    "r": 95,
    "g": 141,
    "b": 255
  },
  "hsl": {
    "h": 222.75,
    "s": 100,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66623,
    "c": 0.17615,
    "h": 265.4
  },
  "luminance": 0.28703
}

Semantic roles & 50–950 ramp

primary
#5F8DFF
secondary
#F5E7C5
accent
#A400E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #5F8DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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