#5F8EE7#5F8EE7

#5F8EE7 is a light, vivid blue. Relative luminance 0.275; OKLCH L 65.4% C 0.143 H 262.1°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#5F8EE7
RGBrgb(95, 142, 231)
HSLhsl(219, 74%, 64%)
HSVhsv(219, 59%, 91%)
CMYKcmyk(58.9%, 38.5%, 0%, 9.4%)
CIE-LABlab(59.48, 10.55, -49.87)
CIE-LCHlch(59.48, 50.98, 281.94°)
OKLaboklab(65.4% -0.0196 -0.1416)
OKLCHoklch(65.4% 0.143 262.1)
XYZxyz(28.8111, 27.5460, 79.3844)
Luminance0.2755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8EE7 #E7B85F
analogous
#5FD2E7 #5F8EE7 #745FE7
triadic
#5F8EE7 #E75F8E #8EE75F
tetradic
#5F8EE7 #E75FD2 #E7B85F #5FE774
square
#5F8EE7 #E75FD2 #E7B85F #5FE774
split-complementary
#5F8EE7 #E7745F #D2E75F
monochromatic
#1B4FB1 #2A68DF #5F8EE7 #94B4EF #C9D9F7

Accessibility & contrast

On white

3.23
#5F8EE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#5F8EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8EE7
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8EE7#FFFFFF#000000##000000
##5F8EE71.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6896EB
Deuteranopia (green-blind)
#5689E5
Tritanopia (blue-blind)
#00A2AF
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5f8ee7;
/* rgb */ color: rgb(95, 142, 231);
/* oklch */ color: oklch(65.4% 0.143 262.1);
Tailwind
colors: {
  custom: {
    50: '#97aeef',
    500: '#5f8ee7',
    950: '#000000',
  },
}
SCSS
$custom: #5f8ee7;
$custom-light: #97aeef;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8ee7",
  "rgb": {
    "r": 95,
    "g": 142,
    "b": 231
  },
  "hsl": {
    "h": 219.265,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.65398,
    "c": 0.14294,
    "h": 262.1
  },
  "luminance": 0.27548
}

Semantic roles & 50–950 ramp

primary
#5F8EE7
secondary
#E9D8B9
accent
#910FD6
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5F8EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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