#5E53BB#5E53BB

#5E53BB is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.8% C 0.158 H 284.1°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#5E53BB
RGBrgb(94, 83, 187)
HSLhsl(246, 43%, 53%)
HSVhsv(246, 56%, 73%)
CMYKcmyk(49.7%, 55.6%, 0%, 26.7%)
CIE-LABlab(41.46, 32.25, -53.64)
CIE-LCHlch(41.46, 62.59, 301.01°)
OKLaboklab(50.85% 0.0384 -0.1532)
OKLCHoklch(50.85% 0.158 284.1)
XYZxyz(16.6763, 12.1532, 48.4712)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E53BB #B0BB53
analogous
#537CBB #5E53BB #9253BB
triadic
#5E53BB #BB5E53 #53BB5E
tetradic
#5E53BB #BB537C #B0BB53 #53BB92
square
#5E53BB #BB537C #B0BB53 #53BB92
split-complementary
#5E53BB #BB9253 #7CBB53
monochromatic
#312A6A #453B96 #5E53BB #877FCC #B0ABDE

Accessibility & contrast

On white

6.12
#5E53BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#5E53BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E53BB
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E53BB#FFFFFF#000000##FFFFFF
##5E53BB1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1365BF
Deuteranopia (green-blind)
#085EB9
Tritanopia (blue-blind)
#3C6A7F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5e53bb;
/* rgb */ color: rgb(94, 83, 187);
/* oklch */ color: oklch(50.8% 0.158 284.1);
Tailwind
colors: {
  custom: {
    50: '#9283d0',
    500: '#5e53bb',
    950: '#000000',
  },
}
SCSS
$custom: #5e53bb;
$custom-light: #9283d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e53bb",
  "rgb": {
    "r": 94,
    "g": 83,
    "b": 187
  },
  "hsl": {
    "h": 246.346,
    "s": 43.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50848,
    "c": 0.15794,
    "h": 284.1
  },
  "luminance": 0.12154
}

Semantic roles & 50–950 ramp

primary
#5E53BB
secondary
#C7CB9E
accent
#D355C6
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #5E53BB

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

Preview Lab → · Contrast checker → · Palette generator →

#5E53BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva