#5F46DD#5F46DD

#5F46DD is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.5% C 0.218 H 283.2°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#5F46DD
RGBrgb(95, 70, 221)
HSLhsl(250, 69%, 57%)
HSVhsv(250, 68%, 87%)
CMYKcmyk(57%, 68.3%, 0%, 13.3%)
CIE-LABlab(41.27, 50.34, -73.60)
CIE-LCHlch(41.27, 89.17, 304.37°)
OKLaboklab(51.54% 0.0498 -0.2118)
OKLCHoklch(51.54% 0.218 283.2)
XYZxyz(19.9566, 12.0324, 69.6635)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F46DD #C4DD46
analogous
#4678DD #5F46DD #AB46DD
triadic
#5F46DD #DD5F46 #46DD5F
tetradic
#5F46DD #DD4678 #C4DD46 #46DDAB
square
#5F46DD #DD4678 #C4DD46 #46DDAB
split-complementary
#5F46DD #DDAB46 #78DD46
monochromatic
#2D1A8E #3E24C2 #5F46DD #8C7AE7 #B8ADF0

Accessibility & contrast

On white

6.16
#5F46DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#5F46DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F46DD
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F46DD#FFFFFF#000000##FFFFFF
##5F46DD1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E2
Deuteranopia (green-blind)
#005CDA
Tritanopia (blue-blind)
#196E8C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5f46dd;
/* rgb */ color: rgb(95, 70, 221);
/* oklch */ color: oklch(51.5% 0.218 283.2);
Tailwind
colors: {
  custom: {
    50: '#997ce9',
    500: '#5f46dd',
    950: '#000000',
  },
}
SCSS
$custom: #5f46dd;
$custom-light: #997ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f46dd",
  "rgb": {
    "r": 95,
    "g": 70,
    "b": 221
  },
  "hsl": {
    "h": 249.934,
    "s": 68.95,
    "l": 57.059
  },
  "oklch": {
    "l": 0.51538,
    "c": 0.21762,
    "h": 283.2
  },
  "luminance": 0.12034
}

Semantic roles & 50–950 ramp

primary
#5F46DD
secondary
#D4DEA1
accent
#EC3CCF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5F46DD

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

Preview Lab → · Contrast checker → · Palette generator →

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