#5F6AEC#5F6AEC

#5F6AEC is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.6% C 0.193 H 275.1°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#5F6AEC
RGBrgb(95, 106, 236)
HSLhsl(235, 79%, 65%)
HSVhsv(235, 60%, 93%)
CMYKcmyk(59.7%, 55.1%, 0%, 7.5%)
CIE-LABlab(50.45, 33.99, -67.14)
CIE-LCHlch(50.45, 75.25, 296.85°)
OKLaboklab(58.62% 0.0171 -0.1927)
OKLCHoklch(58.62% 0.193 275.1)
XYZxyz(25.0087, 18.7951, 81.6506)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6AEC #ECE15F
analogous
#5FB1EC #5F6AEC #9A5FEC
triadic
#5F6AEC #EC5F6A #6AEC5F
tetradic
#5F6AEC #EC5FB1 #ECE15F #5FEC9A
square
#5F6AEC #EC5FB1 #ECE15F #5FEC9A
split-complementary
#5F6AEC #EC9A5F #B1EC5F
monochromatic
#1623BA #2837E6 #5F6AEC #969DF2 #CCD0F9

Accessibility & contrast

On white

4.41
#5F6AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#5F6AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6AEC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6AEC#FFFFFF#000000##000000
##5F6AEC1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF0
Deuteranopia (green-blind)
#0072E9
Tritanopia (blue-blind)
#0089A1
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5f6aec;
/* rgb */ color: rgb(95, 106, 236);
/* oklch */ color: oklch(58.6% 0.193 275.1);
Tailwind
colors: {
  custom: {
    50: '#9994f3',
    500: '#5f6aec',
    950: '#000000',
  },
}
SCSS
$custom: #5f6aec;
$custom-light: #9994f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6aec",
  "rgb": {
    "r": 95,
    "g": 106,
    "b": 236
  },
  "hsl": {
    "h": 235.319,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58619,
    "c": 0.19347,
    "h": 275.1
  },
  "luminance": 0.18797
}

Semantic roles & 50–950 ramp

primary
#5F6AEC
secondary
#EBE8BB
accent
#CB0ADB
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F6AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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