#5F6DE5#5F6DE5

#5F6DE5 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.7% C 0.180 H 274.4°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5F6DE5
RGBrgb(95, 109, 229)
HSLhsl(234, 72%, 64%)
HSVhsv(234, 59%, 90%)
CMYKcmyk(58.5%, 52.4%, 0%, 10.2%)
CIE-LABlab(50.72, 29.88, -62.77)
CIE-LCHlch(50.72, 69.52, 295.46°)
OKLaboklab(58.67% 0.0139 -0.1798)
OKLCHoklch(58.67% 0.18 274.4)
XYZxyz(24.3262, 19.0255, 76.5039)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6DE5 #E5D75F
analogous
#5FB0E5 #5F6DE5 #945FE5
triadic
#5F6DE5 #E55F6D #6DE55F
tetradic
#5F6DE5 #E55FB0 #E5D75F #5FE594
square
#5F6DE5 #E55FB0 #E5D75F #5FE594
split-complementary
#5F6DE5 #E5945F #B0E55F
monochromatic
#1C2BAD #2A3DDC #5F6DE5 #949DEE #C8CDF6

Accessibility & contrast

On white

4.37
#5F6DE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#5F6DE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6DE5
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6DE5#FFFFFF#000000##000000
##5F6DE51.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#247FE9
Deuteranopia (green-blind)
#0073E3
Tritanopia (blue-blind)
#00899F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5f6de5;
/* rgb */ color: rgb(95, 109, 229);
/* oklch */ color: oklch(58.7% 0.180 274.4);
Tailwind
colors: {
  custom: {
    50: '#9796ee',
    500: '#5f6de5',
    950: '#000000',
  },
}
SCSS
$custom: #5f6de5;
$custom-light: #9796ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6de5",
  "rgb": {
    "r": 95,
    "g": 109,
    "b": 229
  },
  "hsl": {
    "h": 233.731,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.58672,
    "c": 0.18037,
    "h": 274.4
  },
  "luminance": 0.19027
}

Semantic roles & 50–950 ramp

primary
#5F6DE5
secondary
#E8E3B8
accent
#C011D4
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0D16
muted
#7E7E84

Preview Lab

Preview with #5F6DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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