#5F7EE8#5F7EE8

#5F7EE8 is a light, vivid blue. Relative luminance 0.232; OKLCH L 62.2% C 0.163 H 269.0°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5F7EE8
RGBrgb(95, 126, 232)
HSLhsl(226, 75%, 64%)
HSVhsv(226, 59%, 91%)
CMYKcmyk(59.1%, 45.7%, 0%, 9%)
CIE-LABlab(55.26, 20.49, -57.16)
CIE-LCHlch(55.26, 60.72, 289.72°)
OKLaboklab(62.17% -0.0028 -0.1631)
OKLCHoklch(62.17% 0.163 269)
XYZxyz(26.7408, 23.1786, 79.3930)
Luminance0.2318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7EE8 #E8C95F
analogous
#5FC3E8 #5F7EE8 #855FE8
triadic
#5F7EE8 #E85F7E #7EE85F
tetradic
#5F7EE8 #E85FC3 #E8C95F #5FE885
square
#5F7EE8 #E85FC3 #E8C95F #5FE885
split-complementary
#5F7EE8 #E8855F #C3E85F
monochromatic
#1A3CB3 #2953E0 #5F7EE8 #95A9F0 #CAD4F7

Accessibility & contrast

On white

3.73
#5F7EE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#5F7EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F7EE8
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7EE8#FFFFFF#000000##000000
##5F7EE81.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8BEC
Deuteranopia (green-blind)
#377FE6
Tritanopia (blue-blind)
#0096A8
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5f7ee8;
/* rgb */ color: rgb(95, 126, 232);
/* oklch */ color: oklch(62.2% 0.163 269.0);
Tailwind
colors: {
  custom: {
    50: '#97a3f0',
    500: '#5f7ee8',
    950: '#000000',
  },
}
SCSS
$custom: #5f7ee8;
$custom-light: #97a3f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7ee8",
  "rgb": {
    "r": 95,
    "g": 126,
    "b": 232
  },
  "hsl": {
    "h": 226.423,
    "s": 74.863,
    "l": 64.118
  },
  "oklch": {
    "l": 0.6217,
    "c": 0.16315,
    "h": 269
  },
  "luminance": 0.23181
}

Semantic roles & 50–950 ramp

primary
#5F7EE8
secondary
#E9DEBA
accent
#AA0ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0F17
muted
#7E7E85

Preview Lab

Preview with #5F7EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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