#5F6DEB#5F6DEB

#5F6DEB is a mid, vivid blue. Relative luminance 0.194; OKLCH L 59.1% C 0.188 H 274.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5F6DEB
RGBrgb(95, 109, 235)
HSLhsl(234, 78%, 65%)
HSVhsv(234, 60%, 92%)
CMYKcmyk(59.6%, 53.6%, 0%, 7.8%)
CIE-LABlab(51.11, 31.84, -65.50)
CIE-LCHlch(51.11, 72.83, 295.92°)
OKLaboklab(59.1% 0.0142 -0.1879)
OKLCHoklch(59.1% 0.188 274.3)
XYZxyz(25.1784, 19.3664, 80.9924)
Luminance0.1937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6DEB #EBDD5F
analogous
#5FB3EB #5F6DEB #975FEB
triadic
#5F6DEB #EB5F6D #6DEB5F
tetradic
#5F6DEB #EB5FB3 #EBDD5F #5FEB97
square
#5F6DEB #EB5FB3 #EBDD5F #5FEB97
split-complementary
#5F6DEB #EB975F #B3EB5F
monochromatic
#1727B9 #293BE4 #5F6DEB #959FF2 #CCD0F9

Accessibility & contrast

On white

4.31
#5F6DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#5F6DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6DEB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6DEB#FFFFFF#000000##000000
##5F6DEB1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1680EF
Deuteranopia (green-blind)
#0074E8
Tritanopia (blue-blind)
#008AA1
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5f6deb;
/* rgb */ color: rgb(95, 109, 235);
/* oklch */ color: oklch(59.1% 0.188 274.3);
Tailwind
colors: {
  custom: {
    50: '#9896f2',
    500: '#5f6deb',
    950: '#000000',
  },
}
SCSS
$custom: #5f6deb;
$custom-light: #9896f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6deb",
  "rgb": {
    "r": 95,
    "g": 109,
    "b": 235
  },
  "hsl": {
    "h": 234,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59096,
    "c": 0.1884,
    "h": 274.3
  },
  "luminance": 0.19368
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F6DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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