#5F6AEF#5F6AEF

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

Color values

HEX#5F6AEF
RGBrgb(95, 106, 239)
HSLhsl(235, 82%, 65%)
HSVhsv(235, 60%, 94%)
CMYKcmyk(60.3%, 55.6%, 0%, 6.3%)
CIE-LABlab(50.65, 34.96, -68.49)
CIE-LCHlch(50.65, 76.89, 297.05°)
OKLaboklab(58.84% 0.0172 -0.1967)
OKLCHoklch(58.84% 0.197 275)
XYZxyz(25.4482, 18.9709, 83.9653)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6AEF #EFE45F
analogous
#5FB2EF #5F6AEF #9C5FEF
triadic
#5F6AEF #EF5F6A #6AEF5F
tetradic
#5F6AEF #EF5FB2 #EFE45F #5FEF9C
square
#5F6AEF #EF5FB2 #EFE45F #5FEF9C
split-complementary
#5F6AEF #EF9C5F #B2EF5F
monochromatic
#1320C0 #2736E9 #5F6AEF #979EF5 #CED2FA

Accessibility & contrast

On white

4.38
#5F6AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#5F6AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6AEF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6AEF#FFFFFF#000000##000000
##5F6AEF1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF4
Deuteranopia (green-blind)
#0073EC
Tritanopia (blue-blind)
#008AA2
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5f6aef;
/* rgb */ color: rgb(95, 106, 239);
/* oklch */ color: oklch(58.8% 0.197 275.0);
Tailwind
colors: {
  custom: {
    50: '#9994f5',
    500: '#5f6aef',
    950: '#000000',
  },
}
SCSS
$custom: #5f6aef;
$custom-light: #9994f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6aef",
  "rgb": {
    "r": 95,
    "g": 106,
    "b": 239
  },
  "hsl": {
    "h": 235.417,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.58838,
    "c": 0.19742,
    "h": 275
  },
  "luminance": 0.18973
}

Semantic roles & 50–950 ramp

primary
#5F6AEF
secondary
#EDE9BD
accent
#CE07DE
background
#FAF9FF
surface
#F4F1FE
border
#CECBD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F6AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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