#5F6DEC#5F6DEC

#5F6DEC is a mid, vivid blue. Relative luminance 0.194; OKLCH L 59.2% C 0.190 H 274.3°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5F6DEC
RGBrgb(95, 109, 236)
HSLhsl(234, 79%, 65%)
HSVhsv(234, 60%, 93%)
CMYKcmyk(59.7%, 53.8%, 0%, 7.5%)
CIE-LABlab(51.18, 32.17, -65.95)
CIE-LCHlch(51.18, 73.38, 296.00°)
OKLaboklab(59.17% 0.0143 -0.1892)
OKLCHoklch(59.17% 0.19 274.3)
XYZxyz(25.3233, 19.4243, 81.7554)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6DEC #ECDE5F
analogous
#5FB3EC #5F6DEC #985FEC
triadic
#5F6DEC #EC5F6D #6DEC5F
tetradic
#5F6DEC #EC5FB3 #ECDE5F #5FEC98
square
#5F6DEC #EC5FB3 #ECDE5F #5FEC98
split-complementary
#5F6DEC #EC985F #B3EC5F
monochromatic
#1626BA #283BE6 #5F6DEC #969FF2 #CCD1F9

Accessibility & contrast

On white

4.30
#5F6DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#5F6DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6DEC
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6DEC#FFFFFF#000000##000000
##5F6DEC1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1380F0
Deuteranopia (green-blind)
#0074E9
Tritanopia (blue-blind)
#008BA2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5f6dec;
/* rgb */ color: rgb(95, 109, 236);
/* oklch */ color: oklch(59.2% 0.190 274.3);
Tailwind
colors: {
  custom: {
    50: '#9996f3',
    500: '#5f6dec',
    950: '#000000',
  },
}
SCSS
$custom: #5f6dec;
$custom-light: #9996f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6dec",
  "rgb": {
    "r": 95,
    "g": 109,
    "b": 236
  },
  "hsl": {
    "h": 234.043,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.59167,
    "c": 0.18973,
    "h": 274.3
  },
  "luminance": 0.19426
}

Semantic roles & 50–950 ramp

primary
#5F6DEC
secondary
#EBE7BB
accent
#C60ADB
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F6DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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