#5F6BEC#5F6BEC

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

Color values

HEX#5F6BEC
RGBrgb(95, 107, 236)
HSLhsl(235, 79%, 65%)
HSVhsv(235, 60%, 93%)
CMYKcmyk(59.7%, 54.7%, 0%, 7.5%)
CIE-LABlab(50.69, 33.38, -66.75)
CIE-LCHlch(50.69, 74.63, 296.57°)
OKLaboklab(58.8% 0.0162 -0.1915)
OKLCHoklch(58.8% 0.192 274.8)
XYZxyz(25.1124, 19.0024, 81.6851)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6BEC #ECE05F
analogous
#5FB1EC #5F6BEC #9A5FEC
triadic
#5F6BEC #EC5F6B #6BEC5F
tetradic
#5F6BEC #EC5FB1 #ECE05F #5FEC9A
square
#5F6BEC #EC5FB1 #ECE05F #5FEC9A
split-complementary
#5F6BEC #EC9A5F #B1EC5F
monochromatic
#1624BA #2838E6 #5F6BEC #969EF2 #CCD0F9

Accessibility & contrast

On white

4.37
#5F6BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#5F6BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6BEC
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6BEC#FFFFFF#000000##000000
##5F6BEC1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#017FF0
Deuteranopia (green-blind)
#0073E9
Tritanopia (blue-blind)
#0089A1
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5f6bec;
/* rgb */ color: rgb(95, 107, 236);
/* oklch */ color: oklch(58.8% 0.192 274.8);
Tailwind
colors: {
  custom: {
    50: '#9995f3',
    500: '#5f6bec',
    950: '#000000',
  },
}
SCSS
$custom: #5f6bec;
$custom-light: #9995f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6bec",
  "rgb": {
    "r": 95,
    "g": 107,
    "b": 236
  },
  "hsl": {
    "h": 234.894,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.588,
    "c": 0.19222,
    "h": 274.8
  },
  "luminance": 0.19004
}

Semantic roles & 50–950 ramp

primary
#5F6BEC
secondary
#EBE7BB
accent
#C90ADB
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F6BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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