#5F6EEB#5F6EEB

#5F6EEB is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.3% C 0.187 H 274.1°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5F6EEB
RGBrgb(95, 110, 235)
HSLhsl(234, 78%, 65%)
HSVhsv(234, 60%, 92%)
CMYKcmyk(59.6%, 53.2%, 0%, 7.8%)
CIE-LABlab(51.36, 31.23, -65.10)
CIE-LCHlch(51.36, 72.21, 295.63°)
OKLaboklab(59.28% 0.0133 -0.1867)
OKLCHoklch(59.28% 0.187 274.1)
XYZxyz(25.2857, 19.5809, 81.0282)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6EEB #EBDC5F
analogous
#5FB4EB #5F6EEB #965FEB
triadic
#5F6EEB #EB5F6E #6EEB5F
tetradic
#5F6EEB #EB5FB4 #EBDC5F #5FEB96
square
#5F6EEB #EB5FB4 #EBDC5F #5FEB96
split-complementary
#5F6EEB #EB965F #B4EB5F
monochromatic
#1728B9 #293DE4 #5F6EEB #959FF2 #CCD1F9

Accessibility & contrast

On white

4.27
#5F6EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#5F6EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6EEB
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6EEB#FFFFFF#000000##000000
##5F6EEB1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C81EF
Deuteranopia (green-blind)
#0075E8
Tritanopia (blue-blind)
#008BA2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5f6eeb;
/* rgb */ color: rgb(95, 110, 235);
/* oklch */ color: oklch(59.3% 0.187 274.1);
Tailwind
colors: {
  custom: {
    50: '#9897f2',
    500: '#5f6eeb',
    950: '#000000',
  },
}
SCSS
$custom: #5f6eeb;
$custom-light: #9897f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6eeb",
  "rgb": {
    "r": 95,
    "g": 110,
    "b": 235
  },
  "hsl": {
    "h": 233.571,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59281,
    "c": 0.18715,
    "h": 274.1
  },
  "luminance": 0.19583
}

Semantic roles & 50–950 ramp

primary
#5F6EEB
secondary
#EBE6BB
accent
#C40BDA
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F6EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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