#5F6CEE#5F6CEE

#5F6CEE is a mid, vivid blue. Relative luminance 0.193; OKLCH L 59.1% C 0.194 H 274.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5F6CEE
RGBrgb(95, 108, 238)
HSLhsl(235, 81%, 65%)
HSVhsv(235, 60%, 93%)
CMYKcmyk(60.1%, 54.6%, 0%, 6.7%)
CIE-LABlab(51.07, 33.43, -67.25)
CIE-LCHlch(51.07, 75.10, 296.43°)
OKLaboklab(59.13% 0.0153 -0.193)
OKLCHoklch(59.13% 0.194 274.5)
XYZxyz(25.5094, 19.3290, 83.2589)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6CEE #EEE15F
analogous
#5FB4EE #5F6CEE #995FEE
triadic
#5F6CEE #EE5F6C #6CEE5F
tetradic
#5F6CEE #EE5FB4 #EEE15F #5FEE99
square
#5F6CEE #EE5FB4 #EEE15F #5FEE99
split-complementary
#5F6CEE #EE995F #B4EE5F
monochromatic
#1424BE #2839E8 #5F6CEE #969FF4 #CED2FA

Accessibility & contrast

On white

4.32
#5F6CEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#5F6CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6CEE
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6CEE#FFFFFF#000000##000000
##5F6CEE1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F2
Deuteranopia (green-blind)
#0074EB
Tritanopia (blue-blind)
#008BA3
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5f6cee;
/* rgb */ color: rgb(95, 108, 238);
/* oklch */ color: oklch(59.1% 0.194 274.5);
Tailwind
colors: {
  custom: {
    50: '#9996f4',
    500: '#5f6cee',
    950: '#000000',
  },
}
SCSS
$custom: #5f6cee;
$custom-light: #9996f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6cee",
  "rgb": {
    "r": 95,
    "g": 108,
    "b": 238
  },
  "hsl": {
    "h": 234.545,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59127,
    "c": 0.19363,
    "h": 274.5
  },
  "luminance": 0.19331
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F6CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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