#5F6CEB#5F6CEB

#5F6CEB is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.9% C 0.190 H 274.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5F6CEB
RGBrgb(95, 108, 235)
HSLhsl(234, 78%, 65%)
HSVhsv(234, 60%, 92%)
CMYKcmyk(59.6%, 54%, 0%, 7.8%)
CIE-LABlab(50.87, 32.45, -65.90)
CIE-LCHlch(50.87, 73.45, 296.21°)
OKLaboklab(58.91% 0.0152 -0.189)
OKLCHoklch(58.91% 0.19 274.6)
XYZxyz(25.0724, 19.1542, 80.9571)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6CEB #EBDE5F
analogous
#5FB2EB #5F6CEB #985FEB
triadic
#5F6CEB #EB5F6C #6CEB5F
tetradic
#5F6CEB #EB5FB2 #EBDE5F #5FEB98
square
#5F6CEB #EB5FB2 #EBDE5F #5FEB98
split-complementary
#5F6CEB #EB985F #B2EB5F
monochromatic
#1726B9 #293AE4 #5F6CEB #959EF2 #CCD0F9

Accessibility & contrast

On white

4.35
#5F6CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#5F6CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6CEB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6CEB#FFFFFF#000000##000000
##5F6CEB1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#107FEF
Deuteranopia (green-blind)
#0073E8
Tritanopia (blue-blind)
#008AA1
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5f6ceb;
/* rgb */ color: rgb(95, 108, 235);
/* oklch */ color: oklch(58.9% 0.190 274.6);
Tailwind
colors: {
  custom: {
    50: '#9896f2',
    500: '#5f6ceb',
    950: '#000000',
  },
}
SCSS
$custom: #5f6ceb;
$custom-light: #9896f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6ceb",
  "rgb": {
    "r": 95,
    "g": 108,
    "b": 235
  },
  "hsl": {
    "h": 234.429,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.58911,
    "c": 0.18965,
    "h": 274.6
  },
  "luminance": 0.19156
}

Semantic roles & 50–950 ramp

primary
#5F6CEB
secondary
#EBE6BB
accent
#C70BDA
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F6CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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