#5341BC#5341BC

#5341BC is a mid, vivid blue. Relative luminance 0.092; OKLCH L 47.0% C 0.184 H 283.4°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#5341BC
RGBrgb(83, 65, 188)
HSLhsl(249, 49%, 50%)
HSVhsv(249, 65%, 74%)
CMYKcmyk(55.9%, 65.4%, 0%, 26.3%)
CIE-LABlab(36.46, 41.24, -62.38)
CIE-LCHlch(36.46, 74.78, 303.47°)
OKLaboklab(46.97% 0.0426 -0.1793)
OKLCHoklch(46.97% 0.184 283.4)
XYZxyz(14.5319, 9.2496, 48.5868)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5341BC #AABC41
analogous
#416DBC #5341BC #9041BC
triadic
#5341BC #BC5341 #41BC53
tetradic
#5341BC #BC416D #AABC41 #41BC90
square
#5341BC #BC416D #AABC41 #41BC90
split-complementary
#5341BC #BC9041 #6DBC41
monochromatic
#2B2261 #3F318F #5341BC #7B6ECD #A59BDC

Accessibility & contrast

On white

7.37
#5341BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#5341BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5341BC
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5341BC#FFFFFF#000000##FFFFFF
##5341BC1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#0052BA
Tritanopia (blue-blind)
#206079
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5341bc;
/* rgb */ color: rgb(83, 65, 188);
/* oklch */ color: oklch(47.0% 0.184 283.4);
Tailwind
colors: {
  custom: {
    50: '#8d77d1',
    500: '#5341bc',
    950: '#000000',
  },
}
SCSS
$custom: #5341bc;
$custom-light: #8d77d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5341bc",
  "rgb": {
    "r": 83,
    "g": 65,
    "b": 188
  },
  "hsl": {
    "h": 248.78,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.46974,
    "c": 0.18431,
    "h": 283.4
  },
  "luminance": 0.0925
}

Semantic roles & 50–950 ramp

primary
#5341BC
secondary
#C0C990
accent
#D850C4
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5341BC

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

Preview Lab → · Contrast checker → · Palette generator →

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