#5F6EEA#5F6EEA

#5F6EEA is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.2% C 0.186 H 274.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5F6EEA
RGBrgb(95, 110, 234)
HSLhsl(234, 77%, 65%)
HSVhsv(234, 59%, 92%)
CMYKcmyk(59.4%, 53%, 0%, 8.2%)
CIE-LABlab(51.29, 30.90, -64.65)
CIE-LCHlch(51.29, 71.66, 295.55°)
OKLaboklab(59.21% 0.0132 -0.1853)
OKLCHoklch(59.21% 0.186 274.1)
XYZxyz(25.1417, 19.5233, 80.2694)
Luminance0.1953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6EEA #EADB5F
analogous
#5FB4EA #5F6EEA #965FEA
triadic
#5F6EEA #EA5F6E #6EEA5F
tetradic
#5F6EEA #EA5FB4 #EADB5F #5FEA96
square
#5F6EEA #EA5FB4 #EADB5F #5FEA96
split-complementary
#5F6EEA #EA965F #B4EA5F
monochromatic
#1829B7 #293DE3 #5F6EEA #959FF1 #CBD0F8

Accessibility & contrast

On white

4.28
#5F6EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#5F6EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6EEA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6EEA#FFFFFF#000000##000000
##5F6EEA1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E80EE
Deuteranopia (green-blind)
#0074E7
Tritanopia (blue-blind)
#008BA1
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5f6eea;
/* rgb */ color: rgb(95, 110, 234);
/* oklch */ color: oklch(59.2% 0.186 274.1);
Tailwind
colors: {
  custom: {
    50: '#9897f1',
    500: '#5f6eea',
    950: '#000000',
  },
}
SCSS
$custom: #5f6eea;
$custom-light: #9897f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6eea",
  "rgb": {
    "r": 95,
    "g": 110,
    "b": 234
  },
  "hsl": {
    "h": 233.525,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.5921,
    "c": 0.18581,
    "h": 274.1
  },
  "luminance": 0.19525
}

Semantic roles & 50–950 ramp

primary
#5F6EEA
secondary
#EAE5BA
accent
#C30CD9
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F6EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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