#5346C8#5346C8

#5346C8 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.8% C 0.194 H 281.0°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#5346C8
RGBrgb(83, 70, 200)
HSLhsl(246, 54%, 53%)
HSVhsv(246, 65%, 78%)
CMYKcmyk(58.5%, 65%, 0%, 21.6%)
CIE-LABlab(38.53, 42.06, -66.02)
CIE-LCHlch(38.53, 78.28, 302.50°)
OKLaboklab(48.78% 0.0368 -0.19)
OKLCHoklch(48.78% 0.194 281)
XYZxyz(16.1795, 10.3883, 55.7849)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5346C8 #BBC846
analogous
#467AC8 #5346C8 #9446C8
triadic
#5346C8 #C85346 #46C853
tetradic
#5346C8 #C8467A #BBC846 #46C894
square
#5346C8 #C8467A #BBC846 #46C894
split-complementary
#5346C8 #C89446 #7AC846
monochromatic
#2A2272 #3B30A1 #5346C8 #7F75D6 #ABA4E4

Accessibility & contrast

On white

6.82
#5346C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#5346C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5346C8
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5346C8#FFFFFF#000000##FFFFFF
##5346C81.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#0056C5
Tritanopia (blue-blind)
#026781
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5346c8;
/* rgb */ color: rgb(83, 70, 200);
/* oklch */ color: oklch(48.8% 0.194 281.0);
Tailwind
colors: {
  custom: {
    50: '#8f7ada',
    500: '#5346c8',
    950: '#000000',
  },
}
SCSS
$custom: #5346c8;
$custom-light: #8f7ada;
$custom-dark: #000000;
JSON
{
  "hex": "#5346c8",
  "rgb": {
    "r": 83,
    "g": 70,
    "b": 200
  },
  "hsl": {
    "h": 246,
    "s": 54.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.48779,
    "c": 0.19351,
    "h": 281
  },
  "luminance": 0.10389
}

Semantic roles & 50–950 ramp

primary
#5346C8
secondary
#CBD199
accent
#DE4ACF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5346C8

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

Preview Lab → · Contrast checker → · Palette generator →

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