#5F6BE7#5F6BE7

#5F6BE7 is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.4% C 0.186 H 274.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5F6BE7
RGBrgb(95, 107, 231)
HSLhsl(235, 74%, 64%)
HSVhsv(235, 59%, 91%)
CMYKcmyk(58.9%, 53.7%, 0%, 9.4%)
CIE-LABlab(50.35, 31.75, -64.49)
CIE-LCHlch(50.35, 71.88, 296.22°)
OKLaboklab(58.44% 0.016 -0.1849)
OKLCHoklch(58.44% 0.186 274.9)
XYZxyz(24.3961, 18.7159, 77.9128)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6BE7 #E7DB5F
analogous
#5FAFE7 #5F6BE7 #975FE7
triadic
#5F6BE7 #E75F6B #6BE75F
tetradic
#5F6BE7 #E75FAF #E7DB5F #5FE797
square
#5F6BE7 #E75FAF #E7DB5F #5FE797
split-complementary
#5F6BE7 #E7975F #AFE75F
monochromatic
#1B28B1 #2A3ADF #5F6BE7 #949CEF #C9CDF7

Accessibility & contrast

On white

4.43
#5F6BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#5F6BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6BE7
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6BE7#FFFFFF#000000##000000
##5F6BE71.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#177EEB
Deuteranopia (green-blind)
#0072E4
Tritanopia (blue-blind)
#00889F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5f6be7;
/* rgb */ color: rgb(95, 107, 231);
/* oklch */ color: oklch(58.4% 0.186 274.9);
Tailwind
colors: {
  custom: {
    50: '#9895ef',
    500: '#5f6be7',
    950: '#000000',
  },
}
SCSS
$custom: #5f6be7;
$custom-light: #9895ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6be7",
  "rgb": {
    "r": 95,
    "g": 107,
    "b": 231
  },
  "hsl": {
    "h": 234.706,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.58441,
    "c": 0.18558,
    "h": 274.9
  },
  "luminance": 0.18718
}

Semantic roles & 50–950 ramp

primary
#5F6BE7
secondary
#E9E5B9
accent
#C50FD6
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F6BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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