#5F6EEE#5F6EEE

#5F6EEE is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.5% C 0.191 H 274.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5F6EEE
RGBrgb(95, 110, 238)
HSLhsl(234, 81%, 65%)
HSVhsv(234, 60%, 93%)
CMYKcmyk(60.1%, 53.8%, 0%, 6.7%)
CIE-LABlab(51.56, 32.21, -66.46)
CIE-LCHlch(51.56, 73.85, 295.86°)
OKLaboklab(59.49% 0.0134 -0.1907)
OKLCHoklch(59.49% 0.191 274)
XYZxyz(25.7228, 19.7558, 83.3301)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6EEE #EEDF5F
analogous
#5FB6EE #5F6EEE #975FEE
triadic
#5F6EEE #EE5F6E #6EEE5F
tetradic
#5F6EEE #EE5FB6 #EEDF5F #5FEE97
square
#5F6EEE #EE5FB6 #EEDF5F #5FEE97
split-complementary
#5F6EEE #EE975F #B6EE5F
monochromatic
#1426BE #283CE8 #5F6EEE #96A0F4 #CED2FA

Accessibility & contrast

On white

4.24
#5F6EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#5F6EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6EEE
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6EEE#FFFFFF#000000##000000
##5F6EEE1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1381F2
Deuteranopia (green-blind)
#0075EB
Tritanopia (blue-blind)
#008CA3
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5f6eee;
/* rgb */ color: rgb(95, 110, 238);
/* oklch */ color: oklch(59.5% 0.191 274.0);
Tailwind
colors: {
  custom: {
    50: '#9997f4',
    500: '#5f6eee',
    950: '#000000',
  },
}
SCSS
$custom: #5f6eee;
$custom-light: #9997f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6eee",
  "rgb": {
    "r": 95,
    "g": 110,
    "b": 238
  },
  "hsl": {
    "h": 233.706,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59494,
    "c": 0.19113,
    "h": 274
  },
  "luminance": 0.19758
}

Semantic roles & 50–950 ramp

primary
#5F6EEE
secondary
#ECE7BC
accent
#C708DD
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F6EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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