#5F6BE6#5F6BE6

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

Color values

HEX#5F6BE6
RGBrgb(95, 107, 230)
HSLhsl(235, 73%, 64%)
HSVhsv(235, 59%, 90%)
CMYKcmyk(58.7%, 53.5%, 0%, 9.8%)
CIE-LABlab(50.29, 31.43, -64.03)
CIE-LCHlch(50.29, 71.33, 296.14°)
OKLaboklab(58.37% 0.0159 -0.1835)
OKLCHoklch(58.37% 0.184 275)
XYZxyz(24.2553, 18.6596, 77.1711)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6BE6 #E6DA5F
analogous
#5FAEE6 #5F6BE6 #965FE6
triadic
#5F6BE6 #E65F6B #6BE65F
tetradic
#5F6BE6 #E65FAE #E6DA5F #5FE696
square
#5F6BE6 #E65FAE #E6DA5F #5FE696
split-complementary
#5F6BE6 #E6965F #AEE65F
monochromatic
#1B29AF #2A3ADE #5F6BE6 #949CEE #C9CDF7

Accessibility & contrast

On white

4.44
#5F6BE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#5F6BE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6BE6
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6BE6#FFFFFF#000000##000000
##5F6BE61.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A7EEA
Deuteranopia (green-blind)
#0072E3
Tritanopia (blue-blind)
#00889E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5f6be6;
/* rgb */ color: rgb(95, 107, 230);
/* oklch */ color: oklch(58.4% 0.184 275.0);
Tailwind
colors: {
  custom: {
    50: '#9895ef',
    500: '#5f6be6',
    950: '#000000',
  },
}
SCSS
$custom: #5f6be6;
$custom-light: #9895ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6be6",
  "rgb": {
    "r": 95,
    "g": 107,
    "b": 230
  },
  "hsl": {
    "h": 234.667,
    "s": 72.973,
    "l": 63.725
  },
  "oklch": {
    "l": 0.5837,
    "c": 0.18424,
    "h": 275
  },
  "luminance": 0.18661
}

Semantic roles & 50–950 ramp

primary
#5F6BE6
secondary
#E8E4B9
accent
#C410D5
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0F0D16
muted
#7E7E84

Preview Lab

Preview with #5F6BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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