#5F67E5#5F67E5

#5F67E5 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.6% C 0.188 H 276.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#5F67E5
RGBrgb(95, 103, 229)
HSLhsl(236, 72%, 64%)
HSVhsv(236, 59%, 90%)
CMYKcmyk(58.5%, 55%, 0%, 10.2%)
CIE-LABlab(49.24, 33.54, -65.16)
CIE-LCHlch(49.24, 73.29, 297.24°)
OKLaboklab(57.57% 0.0197 -0.1869)
OKLCHoklch(57.57% 0.188 276)
XYZxyz(23.7078, 17.7888, 76.2978)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F67E5 #E5DD5F
analogous
#5FAAE5 #5F67E5 #9A5FE5
triadic
#5F67E5 #E55F67 #67E55F
tetradic
#5F67E5 #E55FAA #E5DD5F #5FE59A
square
#5F67E5 #E55FAA #E5DD5F #5FE59A
split-complementary
#5F67E5 #E59A5F #AAE55F
monochromatic
#1C25AD #2A35DC #5F67E5 #9499EE #C8CBF6

Accessibility & contrast

On white

4.61
#5F67E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#5F67E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5F67E5
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F67E5#FFFFFF#000000##FFFFFF
##5F67E51.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BE9
Deuteranopia (green-blind)
#006FE2
Tritanopia (blue-blind)
#00859C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5f67e5;
/* rgb */ color: rgb(95, 103, 229);
/* oklch */ color: oklch(57.6% 0.188 276.0);
Tailwind
colors: {
  custom: {
    50: '#9892ee',
    500: '#5f67e5',
    950: '#000000',
  },
}
SCSS
$custom: #5f67e5;
$custom-light: #9892ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5f67e5",
  "rgb": {
    "r": 95,
    "g": 103,
    "b": 229
  },
  "hsl": {
    "h": 236.418,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57566,
    "c": 0.18796,
    "h": 276
  },
  "luminance": 0.17791
}

Semantic roles & 50–950 ramp

primary
#5F67E5
secondary
#E8E5B8
accent
#C811D4
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0D16
muted
#7F7D84

Preview Lab

Preview with #5F67E5

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

Preview Lab → · Contrast checker → · Palette generator →

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