#5F6DEF#5F6DEF

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

Color values

HEX#5F6DEF
RGBrgb(95, 109, 239)
HSLhsl(234, 82%, 65%)
HSVhsv(234, 60%, 94%)
CMYKcmyk(60.3%, 54.4%, 0%, 6.3%)
CIE-LABlab(51.38, 33.15, -67.30)
CIE-LCHlch(51.38, 75.02, 296.22°)
OKLaboklab(59.38% 0.0144 -0.1932)
OKLCHoklch(59.38% 0.194 274.3)
XYZxyz(25.7628, 19.6001, 84.0702)
Luminance0.1960 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6DEF #EFE15F
analogous
#5FB5EF #5F6DEF #995FEF
triadic
#5F6DEF #EF5F6D #6DEF5F
tetradic
#5F6DEF #EF5FB5 #EFE15F #5FEF99
square
#5F6DEF #EF5FB5 #EFE15F #5FEF99
split-complementary
#5F6DEF #EF995F #B5EF5F
monochromatic
#1324C0 #273AE9 #5F6DEF #97A0F5 #CED3FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F6DEF#FFFFFF#000000##000000
##5F6DEF1.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)
#0581F3
Deuteranopia (green-blind)
#0074EC
Tritanopia (blue-blind)
#008CA3
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5f6def;
/* rgb */ color: rgb(95, 109, 239);
/* oklch */ color: oklch(59.4% 0.194 274.3);
Tailwind
colors: {
  custom: {
    50: '#9996f5',
    500: '#5f6def',
    950: '#000000',
  },
}
SCSS
$custom: #5f6def;
$custom-light: #9996f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6def",
  "rgb": {
    "r": 95,
    "g": 109,
    "b": 239
  },
  "hsl": {
    "h": 234.167,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59382,
    "c": 0.19371,
    "h": 274.3
  },
  "luminance": 0.19602
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F6DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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