#5341BB#5341BB

#5341BB is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.9% C 0.183 H 283.5°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#5341BB
RGBrgb(83, 65, 187)
HSLhsl(249, 48%, 49%)
HSVhsv(249, 65%, 73%)
CMYKcmyk(55.6%, 65.2%, 0%, 26.7%)
CIE-LABlab(36.38, 40.93, -61.93)
CIE-LCHlch(36.38, 74.23, 303.46°)
OKLaboklab(46.89% 0.0427 -0.178)
OKLCHoklch(46.89% 0.183 283.5)
XYZxyz(14.4245, 9.2066, 48.0210)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5341BB #A9BB41
analogous
#416CBB #5341BB #9041BB
triadic
#5341BB #BB5341 #41BB53
tetradic
#5341BB #BB416C #A9BB41 #41BB90
square
#5341BB #BB416C #A9BB41 #41BB90
split-complementary
#5341BB #BB9041 #6CBB41
monochromatic
#2B2160 #3F318E #5341BB #7B6DCC #A49ADC

Accessibility & contrast

On white

7.39
#5341BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#5341BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5341BB
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5341BB#FFFFFF#000000##FFFFFF
##5341BB1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BF
Deuteranopia (green-blind)
#0052B9
Tritanopia (blue-blind)
#226078
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5341bb;
/* rgb */ color: rgb(83, 65, 187);
/* oklch */ color: oklch(46.9% 0.183 283.5);
Tailwind
colors: {
  custom: {
    50: '#8d77d0',
    500: '#5341bb',
    950: '#000000',
  },
}
SCSS
$custom: #5341bb;
$custom-light: #8d77d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5341bb",
  "rgb": {
    "r": 83,
    "g": 65,
    "b": 187
  },
  "hsl": {
    "h": 248.852,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.4689,
    "c": 0.18303,
    "h": 283.5
  },
  "luminance": 0.09207
}

Semantic roles & 50–950 ramp

primary
#5341BB
secondary
#C0C890
accent
#D850C4
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #5341BB

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

Preview Lab → · Contrast checker → · Palette generator →

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