#21136B#21136B

#21136B is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.141 H 279.3°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#21136B
RGBrgb(33, 19, 107)
HSLhsl(250, 70%, 25%)
HSVhsv(250, 82%, 42%)
CMYKcmyk(69.2%, 82.2%, 0%, 58%)
CIE-LABlab(14.68, 34.31, -48.24)
CIE-LCHlch(14.68, 59.19, 305.42°)
OKLaboklab(27.97% 0.0229 -0.1393)
OKLCHoklch(27.97% 0.141 279.3)
XYZxyz(3.5131, 1.8503, 14.0791)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21136B #5D6B13
analogous
#13316B #21136B #4D136B
triadic
#21136B #6B2113 #136B21
tetradic
#21136B #6B1331 #5D6B13 #136B4D
square
#21136B #6B1331 #5D6B13 #136B4D
split-complementary
#21136B #6B4D13 #316B13
monochromatic
#08051A #110A37 #21136B #311C9F #4125D3

Accessibility & contrast

On white

15.33
#21136B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#21136B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21136B
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21136B#FFFFFF#000000##FFFFFF
##21136B1.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286D
Deuteranopia (green-blind)
#002269
Tritanopia (blue-blind)
#002D3F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #21136b;
/* rgb */ color: rgb(33, 19, 107);
/* oklch */ color: oklch(28.0% 0.141 279.3);
Tailwind
colors: {
  custom: {
    50: '#685396',
    500: '#21136b',
    950: '#000000',
  },
}
SCSS
$custom: #21136b;
$custom-light: #685396;
$custom-dark: #000000;
JSON
{
  "hex": "#21136b",
  "rgb": {
    "r": 33,
    "g": 19,
    "b": 107
  },
  "hsl": {
    "h": 249.545,
    "s": 69.841,
    "l": 24.706
  },
  "oklch": {
    "l": 0.27974,
    "c": 0.14115,
    "h": 279.3
  },
  "luminance": 0.01851
}

Semantic roles & 50–950 ramp

primary
#21136B
secondary
#91A238
accent
#ED3BD0
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #21136B

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

Preview Lab → · Contrast checker → · Palette generator →

#21136B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva