#5341CA#5341CA

#5341CA is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.2% C 0.202 H 281.7°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#5341CA
RGBrgb(83, 65, 202)
HSLhsl(248, 56%, 52%)
HSVhsv(248, 68%, 79%)
CMYKcmyk(58.9%, 67.8%, 0%, 20.8%)
CIE-LABlab(37.63, 45.57, -68.65)
CIE-LCHlch(37.63, 82.40, 303.57°)
OKLaboklab(48.18% 0.0408 -0.1977)
OKLCHoklch(48.18% 0.202 281.7)
XYZxyz(16.1149, 9.8828, 56.9240)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5341CA #B8CA41
analogous
#4174CA #5341CA #9741CA
triadic
#5341CA #CA5341 #41CA53
tetradic
#5341CA #CA4174 #B8CA41 #41CA97
square
#5341CA #CA4174 #B8CA41 #41CA97
split-complementary
#5341CA #CA9741 #74CA41
monochromatic
#2A2071 #3C2DA1 #5341CA #7E71D7 #AAA1E5

Accessibility & contrast

On white

7.05
#5341CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#5341CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5341CA
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5341CA#FFFFFF#000000##FFFFFF
##5341CA1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#0054C7
Tritanopia (blue-blind)
#006580
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5341ca;
/* rgb */ color: rgb(83, 65, 202);
/* oklch */ color: oklch(48.2% 0.202 281.7);
Tailwind
colors: {
  custom: {
    50: '#9077db',
    500: '#5341ca',
    950: '#000000',
  },
}
SCSS
$custom: #5341ca;
$custom-light: #9077db;
$custom-dark: #000000;
JSON
{
  "hex": "#5341ca",
  "rgb": {
    "r": 83,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 247.883,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48181,
    "c": 0.20185,
    "h": 281.7
  },
  "luminance": 0.09884
}

Semantic roles & 50–950 ramp

primary
#5341CA
secondary
#C9D196
accent
#E048CC
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5341CA

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

Preview Lab → · Contrast checker → · Palette generator →

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