#5F8FF4#5F8FF4

#5F8FF4 is a light, vivid blue. Relative luminance 0.286; OKLCH L 66.4% C 0.159 H 263.5°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#5F8FF4
RGBrgb(95, 143, 244)
HSLhsl(221, 87%, 66%)
HSVhsv(221, 61%, 96%)
CMYKcmyk(61.1%, 41.4%, 0%, 4.3%)
CIE-LABlab(60.43, 14.22, -55.54)
CIE-LCHlch(60.43, 57.34, 284.36°)
OKLaboklab(66.36% -0.018 -0.1582)
OKLCHoklch(66.36% 0.159 263.5)
XYZxyz(30.8652, 28.6067, 89.4655)
Luminance0.2861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8FF4 #F4C45F
analogous
#5FDAF4 #5F8FF4 #7A5FF4
triadic
#5F8FF4 #F45F8F #8FF45F
tetradic
#5F8FF4 #F45FDA #F4C45F #5FF47A
square
#5F8FF4 #F45FDA #F4C45F #5FF47A
split-complementary
#5F8FF4 #F47A5F #DAF45F
monochromatic
#0E4BCB #2667F0 #5F8FF4 #98B7F8 #D2DFFC

Accessibility & contrast

On white

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

On black

6.72
#5F8FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8FF4
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8FF4#FFFFFF#000000##000000
##5F8FF41.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6299F8
Deuteranopia (green-blind)
#4C8BF2
Tritanopia (blue-blind)
#00A6B6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5f8ff4;
/* rgb */ color: rgb(95, 143, 244);
/* oklch */ color: oklch(66.4% 0.159 263.5);
Tailwind
colors: {
  custom: {
    50: '#98aff8',
    500: '#5f8ff4',
    950: '#000000',
  },
}
SCSS
$custom: #5f8ff4;
$custom-light: #98aff8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8ff4",
  "rgb": {
    "r": 95,
    "g": 143,
    "b": 244
  },
  "hsl": {
    "h": 220.671,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.66361,
    "c": 0.15921,
    "h": 263.5
  },
  "luminance": 0.28609
}

Semantic roles & 50–950 ramp

primary
#5F8FF4
secondary
#F0E0BF
accent
#9B02E4
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5F8FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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