#5341CC#5341CC

#5341CC is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.4% C 0.204 H 281.4°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#5341CC
RGBrgb(83, 65, 204)
HSLhsl(248, 58%, 53%)
HSVhsv(248, 68%, 80%)
CMYKcmyk(59.3%, 68.1%, 0%, 20%)
CIE-LABlab(37.80, 46.18, -69.53)
CIE-LCHlch(37.80, 83.47, 303.59°)
OKLaboklab(48.36% 0.0405 -0.2003)
OKLCHoklch(48.36% 0.204 281.4)
XYZxyz(16.3532, 9.9781, 58.1793)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5341CC #BACC41
analogous
#4174CC #5341CC #9941CC
triadic
#5341CC #CC5341 #41CC53
tetradic
#5341CC #CC4174 #BACC41 #41CC99
square
#5341CC #CC4174 #BACC41 #41CC99
split-complementary
#5341CC #CC9941 #74CC41
monochromatic
#2A1F74 #3B2CA4 #5341CC #7F71D9 #AAA1E6

Accessibility & contrast

On white

7.01
#5341CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#5341CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5341CC
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5341CC#FFFFFF#000000##FFFFFF
##5341CC1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED0
Deuteranopia (green-blind)
#0054C9
Tritanopia (blue-blind)
#006681
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5341cc;
/* rgb */ color: rgb(83, 65, 204);
/* oklch */ color: oklch(48.4% 0.204 281.4);
Tailwind
colors: {
  custom: {
    50: '#9077dd',
    500: '#5341cc',
    950: '#000000',
  },
}
SCSS
$custom: #5341cc;
$custom-light: #9077dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5341cc",
  "rgb": {
    "r": 83,
    "g": 65,
    "b": 204
  },
  "hsl": {
    "h": 247.77,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.48358,
    "c": 0.20432,
    "h": 281.4
  },
  "luminance": 0.09979
}

Semantic roles & 50–950 ramp

primary
#5341CC
secondary
#CBD396
accent
#E147CD
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5341CC

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

Preview Lab → · Contrast checker → · Palette generator →

#5341CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva