#5F6AED#5F6AED

#5F6AED is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.7% C 0.195 H 275.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5F6AED
RGBrgb(95, 106, 237)
HSLhsl(235, 80%, 65%)
HSVhsv(235, 60%, 93%)
CMYKcmyk(59.9%, 55.3%, 0%, 7.1%)
CIE-LABlab(50.52, 34.31, -67.59)
CIE-LCHlch(50.52, 75.80, 296.92°)
OKLaboklab(58.69% 0.0171 -0.194)
OKLCHoklch(58.69% 0.195 275)
XYZxyz(25.1544, 18.8534, 82.4179)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6AED #EDE25F
analogous
#5FB1ED #5F6AED #9B5FED
triadic
#5F6AED #ED5F6A #6AED5F
tetradic
#5F6AED #ED5FB1 #EDE25F #5FED9B
square
#5F6AED #ED5FB1 #EDE25F #5FED9B
split-complementary
#5F6AED #ED9B5F #B1ED5F
monochromatic
#1522BC #2837E7 #5F6AED #969DF3 #CDD0F9

Accessibility & contrast

On white

4.40
#5F6AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#5F6AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6AED
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6AED#FFFFFF#000000##000000
##5F6AED1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f6aed;
/* rgb */ color: rgb(95, 106, 237);
/* oklch */ color: oklch(58.7% 0.195 275.0);
Tailwind
colors: {
  custom: {
    50: '#9994f4',
    500: '#5f6aed',
    950: '#000000',
  },
}
SCSS
$custom: #5f6aed;
$custom-light: #9994f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6aed",
  "rgb": {
    "r": 95,
    "g": 106,
    "b": 237
  },
  "hsl": {
    "h": 235.352,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.58692,
    "c": 0.19478,
    "h": 275
  },
  "luminance": 0.18855
}

Semantic roles & 50–950 ramp

primary
#5F6AED
secondary
#ECE8BC
accent
#CC09DC
background
#FAF9FF
surface
#F3F1FE
border
#CDCBD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F6AED

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

Preview Lab → · Contrast checker → · Palette generator →

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