#5946C8#5946C8

#5946C8 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 49.3% C 0.193 H 283.4°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#5946C8
RGBrgb(89, 70, 200)
HSLhsl(249, 54%, 53%)
HSVhsv(249, 65%, 78%)
CMYKcmyk(55.5%, 65%, 0%, 21.6%)
CIE-LABlab(39.02, 43.05, -65.19)
CIE-LCHlch(39.02, 78.12, 303.44°)
OKLaboklab(49.26% 0.0447 -0.1874)
OKLCHoklch(49.26% 0.193 283.4)
XYZxyz(16.7321, 10.6733, 55.8109)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5946C8 #B5C846
analogous
#4674C8 #5946C8 #9A46C8
triadic
#5946C8 #C85946 #46C859
tetradic
#5946C8 #C84674 #B5C846 #46C89A
square
#5946C8 #C84674 #B5C846 #46C89A
split-complementary
#5946C8 #C89A46 #74C846
monochromatic
#2E2272 #4030A1 #5946C8 #8375D6 #AEA4E4

Accessibility & contrast

On white

6.70
#5946C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#5946C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5946C8
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5946C8#FFFFFF#000000##FFFFFF
##5946C81.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#0058C5
Tritanopia (blue-blind)
#246781
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5946c8;
/* rgb */ color: rgb(89, 70, 200);
/* oklch */ color: oklch(49.3% 0.193 283.4);
Tailwind
colors: {
  custom: {
    50: '#927bda',
    500: '#5946c8',
    950: '#000000',
  },
}
SCSS
$custom: #5946c8;
$custom-light: #927bda;
$custom-dark: #000000;
JSON
{
  "hex": "#5946c8",
  "rgb": {
    "r": 89,
    "g": 70,
    "b": 200
  },
  "hsl": {
    "h": 248.769,
    "s": 54.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.4926,
    "c": 0.19261,
    "h": 283.4
  },
  "luminance": 0.10674
}

Semantic roles & 50–950 ramp

primary
#5946C8
secondary
#C9D199
accent
#DE4AC8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5946C8

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

Preview Lab → · Contrast checker → · Palette generator →

#5946C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva