#5F8EE8#5F8EE8

#5F8EE8 is a light, vivid blue. Relative luminance 0.276; OKLCH L 65.5% C 0.144 H 262.3°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#5F8EE8
RGBrgb(95, 142, 232)
HSLhsl(219, 75%, 64%)
HSVhsv(219, 59%, 91%)
CMYKcmyk(59.1%, 38.8%, 0%, 9%)
CIE-LABlab(59.53, 10.87, -50.35)
CIE-LCHlch(59.53, 51.51, 282.19°)
OKLaboklab(65.46% -0.0194 -0.143)
OKLCHoklch(65.46% 0.144 262.3)
XYZxyz(28.9528, 27.6026, 80.1304)
Luminance0.2761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8EE8 #E8B95F
analogous
#5FD3E8 #5F8EE8 #755FE8
triadic
#5F8EE8 #E85F8E #8EE85F
tetradic
#5F8EE8 #E85FD3 #E8B95F #5FE875
square
#5F8EE8 #E85FD3 #E8B95F #5FE875
split-complementary
#5F8EE8 #E8755F #D3E85F
monochromatic
#1A4EB3 #2968E0 #5F8EE8 #95B4F0 #CADAF7

Accessibility & contrast

On white

3.22
#5F8EE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#5F8EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8EE8
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8EE8#FFFFFF#000000##000000
##5F8EE81.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6796EC
Deuteranopia (green-blind)
#558AE6
Tritanopia (blue-blind)
#00A2B0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5f8ee8;
/* rgb */ color: rgb(95, 142, 232);
/* oklch */ color: oklch(65.5% 0.144 262.3);
Tailwind
colors: {
  custom: {
    50: '#97aef0',
    500: '#5f8ee8',
    950: '#000000',
  },
}
SCSS
$custom: #5f8ee8;
$custom-light: #97aef0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8ee8",
  "rgb": {
    "r": 95,
    "g": 142,
    "b": 232
  },
  "hsl": {
    "h": 219.416,
    "s": 74.863,
    "l": 64.118
  },
  "oklch": {
    "l": 0.65455,
    "c": 0.14428,
    "h": 262.3
  },
  "luminance": 0.27605
}

Semantic roles & 50–950 ramp

primary
#5F8EE8
secondary
#E9D9BA
accent
#920ED7
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5F8EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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