#5A46CF#5A46CF

#5A46CF is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 49.9% C 0.201 H 283.0°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#5A46CF
RGBrgb(90, 70, 207)
HSLhsl(249, 59%, 54%)
HSVhsv(249, 66%, 81%)
CMYKcmyk(56.5%, 66.2%, 0%, 18.8%)
CIE-LABlab(39.68, 45.35, -68.17)
CIE-LCHlch(39.68, 81.88, 303.63°)
OKLaboklab(49.93% 0.0452 -0.1961)
OKLCHoklch(49.93% 0.201 283)
XYZxyz(17.6656, 11.0579, 60.2229)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A46CF #BBCF46
analogous
#4677CF #5A46CF #9F46CF
triadic
#5A46CF #CF5A46 #46CF5A
tetradic
#5A46CF #CF4677 #BBCF46 #46CF9F
square
#5A46CF #CF4677 #BBCF46 #46CF9F
split-complementary
#5A46CF #CF9F46 #77CF46
monochromatic
#2D207B #3F2CAB #5A46CF #8577DC #B1A7E8

Accessibility & contrast

On white

6.54
#5A46CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#5A46CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A46CF
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A46CF#FFFFFF#000000##FFFFFF
##5A46CF1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D3
Deuteranopia (green-blind)
#0059CC
Tritanopia (blue-blind)
#1D6984
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5a46cf;
/* rgb */ color: rgb(90, 70, 207);
/* oklch */ color: oklch(49.9% 0.201 283.0);
Tailwind
colors: {
  custom: {
    50: '#947bdf',
    500: '#5a46cf',
    950: '#000000',
  },
}
SCSS
$custom: #5a46cf;
$custom-light: #947bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#5a46cf",
  "rgb": {
    "r": 90,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 248.759,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.4993,
    "c": 0.20123,
    "h": 283
  },
  "luminance": 0.11059
}

Semantic roles & 50–950 ramp

primary
#5A46CF
secondary
#CDD59B
accent
#E246CB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5A46CF

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

Preview Lab → · Contrast checker → · Palette generator →

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