#5F6CEC#5F6CEC

#5F6CEC is a mid, vivid blue. Relative luminance 0.192; OKLCH L 59.0% C 0.191 H 274.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5F6CEC
RGBrgb(95, 108, 236)
HSLhsl(234, 79%, 65%)
HSVhsv(234, 60%, 93%)
CMYKcmyk(59.7%, 54.2%, 0%, 7.5%)
CIE-LABlab(50.93, 32.77, -66.35)
CIE-LCHlch(50.93, 74.00, 296.29°)
OKLaboklab(58.98% 0.0152 -0.1904)
OKLCHoklch(58.98% 0.191 274.6)
XYZxyz(25.2172, 19.2122, 81.7201)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6CEC #ECDF5F
analogous
#5FB3EC #5F6CEC #985FEC
triadic
#5F6CEC #EC5F6C #6CEC5F
tetradic
#5F6CEC #EC5FB3 #ECDF5F #5FEC98
square
#5F6CEC #EC5FB3 #ECDF5F #5FEC98
split-complementary
#5F6CEC #EC985F #B3EC5F
monochromatic
#1625BA #283AE6 #5F6CEC #969EF2 #CCD1F9

Accessibility & contrast

On white

4.34
#5F6CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#5F6CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6CEC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6CEC#FFFFFF#000000##000000
##5F6CEC1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B80F0
Deuteranopia (green-blind)
#0073E9
Tritanopia (blue-blind)
#008AA2
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5f6cec;
/* rgb */ color: rgb(95, 108, 236);
/* oklch */ color: oklch(59.0% 0.191 274.6);
Tailwind
colors: {
  custom: {
    50: '#9996f3',
    500: '#5f6cec',
    950: '#000000',
  },
}
SCSS
$custom: #5f6cec;
$custom-light: #9996f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6cec",
  "rgb": {
    "r": 95,
    "g": 108,
    "b": 236
  },
  "hsl": {
    "h": 234.468,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58983,
    "c": 0.19098,
    "h": 274.6
  },
  "luminance": 0.19214
}

Semantic roles & 50–950 ramp

primary
#5F6CEC
secondary
#EBE7BB
accent
#C80ADB
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F6CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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