#5F6CE8#5F6CE8

#5F6CE8 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.7% C 0.186 H 274.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5F6CE8
RGBrgb(95, 108, 232)
HSLhsl(234, 75%, 64%)
HSVhsv(234, 59%, 91%)
CMYKcmyk(59.1%, 53.4%, 0%, 9%)
CIE-LABlab(50.67, 31.47, -64.54)
CIE-LCHlch(50.67, 71.80, 295.99°)
OKLaboklab(58.7% 0.0151 -0.185)
OKLCHoklch(58.7% 0.186 274.6)
XYZxyz(24.6426, 18.9823, 78.6937)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6CE8 #E8DB5F
analogous
#5FB0E8 #5F6CE8 #975FE8
triadic
#5F6CE8 #E85F6C #6CE85F
tetradic
#5F6CE8 #E85FB0 #E8DB5F #5FE897
square
#5F6CE8 #E85FB0 #E8DB5F #5FE897
split-complementary
#5F6CE8 #E8975F #B0E85F
monochromatic
#1A28B3 #293BE0 #5F6CE8 #959DF0 #CACEF7

Accessibility & contrast

On white

4.38
#5F6CE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#5F6CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6CE8
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6CE8#FFFFFF#000000##000000
##5F6CE81.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#197FEC
Deuteranopia (green-blind)
#0073E5
Tritanopia (blue-blind)
#0089A0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5f6ce8;
/* rgb */ color: rgb(95, 108, 232);
/* oklch */ color: oklch(58.7% 0.186 274.6);
Tailwind
colors: {
  custom: {
    50: '#9896f0',
    500: '#5f6ce8',
    950: '#000000',
  },
}
SCSS
$custom: #5f6ce8;
$custom-light: #9896f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6ce8",
  "rgb": {
    "r": 95,
    "g": 108,
    "b": 232
  },
  "hsl": {
    "h": 234.307,
    "s": 74.863,
    "l": 64.118
  },
  "oklch": {
    "l": 0.58697,
    "c": 0.18565,
    "h": 274.6
  },
  "luminance": 0.18984
}

Semantic roles & 50–950 ramp

primary
#5F6CE8
secondary
#E9E5BA
accent
#C40ED7
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F6CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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