#5F6AEE#5F6AEE

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

Color values

HEX#5F6AEE
RGBrgb(95, 106, 238)
HSLhsl(235, 81%, 65%)
HSVhsv(235, 60%, 93%)
CMYKcmyk(60.1%, 55.5%, 0%, 6.7%)
CIE-LABlab(50.58, 34.64, -68.04)
CIE-LCHlch(50.58, 76.35, 296.98°)
OKLaboklab(58.77% 0.0172 -0.1953)
OKLCHoklch(58.77% 0.196 275)
XYZxyz(25.3009, 18.9120, 83.1894)
Luminance0.1891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6AEE #EEE35F
analogous
#5FB1EE #5F6AEE #9C5FEE
triadic
#5F6AEE #EE5F6A #6AEE5F
tetradic
#5F6AEE #EE5FB1 #EEE35F #5FEE9C
square
#5F6AEE #EE5FB1 #EEE35F #5FEE9C
split-complementary
#5F6AEE #EE9C5F #B1EE5F
monochromatic
#1421BE #2836E8 #5F6AEE #969EF4 #CED1FA

Accessibility & contrast

On white

4.39
#5F6AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#5F6AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6AEE
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6AEE#FFFFFF#000000##000000
##5F6AEE1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF2
Deuteranopia (green-blind)
#0072EB
Tritanopia (blue-blind)
#0089A2
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5f6aee;
/* rgb */ color: rgb(95, 106, 238);
/* oklch */ color: oklch(58.8% 0.196 275.0);
Tailwind
colors: {
  custom: {
    50: '#9994f4',
    500: '#5f6aee',
    950: '#000000',
  },
}
SCSS
$custom: #5f6aee;
$custom-light: #9994f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6aee",
  "rgb": {
    "r": 95,
    "g": 106,
    "b": 238
  },
  "hsl": {
    "h": 235.385,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.58765,
    "c": 0.1961,
    "h": 275
  },
  "luminance": 0.18914
}

Semantic roles & 50–950 ramp

primary
#5F6AEE
secondary
#ECE9BC
accent
#CD08DD
background
#FAF9FF
surface
#F4F1FE
border
#CECBD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F6AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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