#5341CB#5341CB

#5341CB is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.3% C 0.203 H 281.5°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#5341CB
RGBrgb(83, 65, 203)
HSLhsl(248, 57%, 53%)
HSVhsv(248, 68%, 80%)
CMYKcmyk(59.1%, 68%, 0%, 20.4%)
CIE-LABlab(37.72, 45.88, -69.09)
CIE-LCHlch(37.72, 82.93, 303.58°)
OKLaboklab(48.27% 0.0406 -0.199)
OKLCHoklch(48.27% 0.203 281.5)
XYZxyz(16.2337, 9.9303, 57.5496)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5341CB #B9CB41
analogous
#4174CB #5341CB #9841CB
triadic
#5341CB #CB5341 #41CB53
tetradic
#5341CB #CB4174 #B9CB41 #41CB98
square
#5341CB #CB4174 #B9CB41 #41CB98
split-complementary
#5341CB #CB9841 #74CB41
monochromatic
#2A1F72 #3C2CA2 #5341CB #7E71D8 #AAA1E5

Accessibility & contrast

On white

7.03
#5341CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#5341CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5341CB
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5341CB#FFFFFF#000000##FFFFFF
##5341CB1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECF
Deuteranopia (green-blind)
#0054C8
Tritanopia (blue-blind)
#006581
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5341cb;
/* rgb */ color: rgb(83, 65, 203);
/* oklch */ color: oklch(48.3% 0.203 281.5);
Tailwind
colors: {
  custom: {
    50: '#9077dc',
    500: '#5341cb',
    950: '#000000',
  },
}
SCSS
$custom: #5341cb;
$custom-light: #9077dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5341cb",
  "rgb": {
    "r": 83,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 247.826,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.48269,
    "c": 0.20309,
    "h": 281.5
  },
  "luminance": 0.09931
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5341CB

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

Preview Lab → · Contrast checker → · Palette generator →

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