#5341CD#5341CD

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

Color values

HEX#5341CD
RGBrgb(83, 65, 205)
HSLhsl(248, 58%, 53%)
HSVhsv(248, 68%, 80%)
CMYKcmyk(59.5%, 68.3%, 0%, 19.6%)
CIE-LABlab(37.89, 46.49, -69.97)
CIE-LCHlch(37.89, 84.01, 303.60°)
OKLaboklab(48.45% 0.0403 -0.2015)
OKLCHoklch(48.45% 0.206 281.3)
XYZxyz(16.4736, 10.0262, 58.8129)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5341CD #BBCD41
analogous
#4175CD #5341CD #9941CD
triadic
#5341CD #CD5341 #41CD53
tetradic
#5341CD #CD4175 #BBCD41 #41CD99
square
#5341CD #CD4175 #BBCD41 #41CD99
split-complementary
#5341CD #CD9941 #75CD41
monochromatic
#2A1F75 #3B2CA5 #5341CD #7F71DA #ABA2E6

Accessibility & contrast

On white

6.99
#5341CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#5341CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5341CD
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5341CD#FFFFFF#000000##FFFFFF
##5341CD1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5341cd;
/* rgb */ color: rgb(83, 65, 205);
/* oklch */ color: oklch(48.4% 0.206 281.3);
Tailwind
colors: {
  custom: {
    50: '#9077dd',
    500: '#5341cd',
    950: '#000000',
  },
}
SCSS
$custom: #5341cd;
$custom-light: #9077dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5341cd",
  "rgb": {
    "r": 83,
    "g": 65,
    "b": 205
  },
  "hsl": {
    "h": 247.714,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.48446,
    "c": 0.20555,
    "h": 281.3
  },
  "luminance": 0.10027
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5341CD

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

Preview Lab → · Contrast checker → · Palette generator →

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