#5341CE#5341CE

#5341CE is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.5% C 0.207 H 281.2°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#5341CE
RGBrgb(83, 65, 206)
HSLhsl(248, 59%, 53%)
HSVhsv(248, 68%, 81%)
CMYKcmyk(59.7%, 68.4%, 0%, 19.2%)
CIE-LABlab(37.98, 46.80, -70.40)
CIE-LCHlch(37.98, 84.54, 303.61°)
OKLaboklab(48.54% 0.0402 -0.2028)
OKLCHoklch(48.54% 0.207 281.2)
XYZxyz(16.5947, 10.0747, 59.4507)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5341CE #BCCE41
analogous
#4175CE #5341CE #9A41CE
triadic
#5341CE #CE5341 #41CE53
tetradic
#5341CE #CE4175 #BCCE41 #41CE9A
square
#5341CE #CE4175 #BCCE41 #41CE9A
split-complementary
#5341CE #CE9A41 #75CE41
monochromatic
#2A1E76 #3B2BA7 #5341CE #7F72DB #ABA2E7

Accessibility & contrast

On white

6.96
#5341CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#5341CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5341CE
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5341CE#FFFFFF#000000##FFFFFF
##5341CE1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED2
Deuteranopia (green-blind)
#0054CB
Tritanopia (blue-blind)
#006682
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5341ce;
/* rgb */ color: rgb(83, 65, 206);
/* oklch */ color: oklch(48.5% 0.207 281.2);
Tailwind
colors: {
  custom: {
    50: '#9077de',
    500: '#5341ce',
    950: '#000000',
  },
}
SCSS
$custom: #5341ce;
$custom-light: #9077de;
$custom-dark: #000000;
JSON
{
  "hex": "#5341ce",
  "rgb": {
    "r": 83,
    "g": 65,
    "b": 206
  },
  "hsl": {
    "h": 247.66,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.48535,
    "c": 0.20678,
    "h": 281.2
  },
  "luminance": 0.10076
}

Semantic roles & 50–950 ramp

primary
#5341CE
secondary
#CCD497
accent
#E246CE
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5341CE

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

Preview Lab → · Contrast checker → · Palette generator →

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