#5F6EEF#5F6EEF

#5F6EEF is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.6% C 0.192 H 274.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5F6EEF
RGBrgb(95, 110, 239)
HSLhsl(234, 82%, 65%)
HSVhsv(234, 60%, 94%)
CMYKcmyk(60.3%, 54%, 0%, 6.3%)
CIE-LABlab(51.63, 32.54, -66.91)
CIE-LCHlch(51.63, 74.40, 295.93°)
OKLaboklab(59.57% 0.0135 -0.192)
OKLCHoklch(59.57% 0.192 274)
XYZxyz(25.8701, 19.8147, 84.1060)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6EEF #EFE05F
analogous
#5FB6EF #5F6EEF #985FEF
triadic
#5F6EEF #EF5F6E #6EEF5F
tetradic
#5F6EEF #EF5FB6 #EFE05F #5FEF98
square
#5F6EEF #EF5FB6 #EFE05F #5FEF98
split-complementary
#5F6EEF #EF985F #B6EF5F
monochromatic
#1325C0 #273CE9 #5F6EEF #97A0F5 #CED3FA

Accessibility & contrast

On white

4.23
#5F6EEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#5F6EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6EEF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6EEF#FFFFFF#000000##000000
##5F6EEF1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F81F3
Deuteranopia (green-blind)
#0075EC
Tritanopia (blue-blind)
#008CA4
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5f6eef;
/* rgb */ color: rgb(95, 110, 239);
/* oklch */ color: oklch(59.6% 0.192 274.0);
Tailwind
colors: {
  custom: {
    50: '#9997f5',
    500: '#5f6eef',
    950: '#000000',
  },
}
SCSS
$custom: #5f6eef;
$custom-light: #9997f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6eef",
  "rgb": {
    "r": 95,
    "g": 110,
    "b": 239
  },
  "hsl": {
    "h": 233.75,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59566,
    "c": 0.19246,
    "h": 274
  },
  "luminance": 0.19817
}

Semantic roles & 50–950 ramp

primary
#5F6EEF
secondary
#EDE8BD
accent
#C807DE
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F6EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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