#5341CF#5341CF

#5341CF is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.6% C 0.208 H 281.1°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#5341CF
RGBrgb(83, 65, 207)
HSLhsl(248, 60%, 53%)
HSVhsv(248, 69%, 81%)
CMYKcmyk(59.9%, 68.6%, 0%, 18.8%)
CIE-LABlab(38.06, 47.11, -70.84)
CIE-LCHlch(38.06, 85.07, 303.62°)
OKLaboklab(48.62% 0.04 -0.2041)
OKLCHoklch(48.62% 0.208 281.1)
XYZxyz(16.7165, 10.1234, 60.0925)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5341CF #BDCF41
analogous
#4176CF #5341CF #9A41CF
triadic
#5341CF #CF5341 #41CF53
tetradic
#5341CF #CF4176 #BDCF41 #41CF9A
square
#5341CF #CF4176 #BDCF41 #41CF9A
split-complementary
#5341CF #CF9A41 #76CF41
monochromatic
#291E77 #3A2BA8 #5341CF #7F72DB #ABA3E8

Accessibility & contrast

On white

6.94
#5341CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#5341CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5341CF
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5341CF#FFFFFF#000000##FFFFFF
##5341CF1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD3
Deuteranopia (green-blind)
#0054CC
Tritanopia (blue-blind)
#006783
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5341cf;
/* rgb */ color: rgb(83, 65, 207);
/* oklch */ color: oklch(48.6% 0.208 281.1);
Tailwind
colors: {
  custom: {
    50: '#9177df',
    500: '#5341cf',
    950: '#000000',
  },
}
SCSS
$custom: #5341cf;
$custom-light: #9177df;
$custom-dark: #000000;
JSON
{
  "hex": "#5341cf",
  "rgb": {
    "r": 83,
    "g": 65,
    "b": 207
  },
  "hsl": {
    "h": 247.606,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48624,
    "c": 0.208,
    "h": 281.1
  },
  "luminance": 0.10125
}

Semantic roles & 50–950 ramp

primary
#5341CF
secondary
#CDD497
accent
#E345CF
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5341CF

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

Preview Lab → · Contrast checker → · Palette generator →

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