#21136A#21136A

#21136A is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.9% C 0.140 H 279.6°. Best body text is #FFFFFF at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#21136A
RGBrgb(33, 19, 106)
HSLhsl(250, 70%, 25%)
HSVhsv(250, 82%, 42%)
CMYKcmyk(68.9%, 82.1%, 0%, 58.4%)
CIE-LABlab(14.57, 33.98, -47.77)
CIE-LCHlch(14.57, 58.62, 305.42°)
OKLaboklab(27.86% 0.0232 -0.1379)
OKLCHoklch(27.86% 0.14 279.6)
XYZxyz(3.4608, 1.8294, 13.8036)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21136A #5C6A13
analogous
#13316A #21136A #4D136A
triadic
#21136A #6A2113 #136A21
tetradic
#21136A #6A1331 #5C6A13 #136A4D
square
#21136A #6A1331 #5C6A13 #136A4D
split-complementary
#21136A #6A4D13 #316A13
monochromatic
#08051A #110A36 #21136A #311C9E #4126D2

Accessibility & contrast

On white

15.37
#21136A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21136A
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21136A#FFFFFF#000000##FFFFFF
##21136A1.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286C
Deuteranopia (green-blind)
#002168
Tritanopia (blue-blind)
#002D3E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #21136a;
/* rgb */ color: rgb(33, 19, 106);
/* oklch */ color: oklch(27.9% 0.140 279.6);
Tailwind
colors: {
  custom: {
    50: '#685396',
    500: '#21136a',
    950: '#000000',
  },
}
SCSS
$custom: #21136a;
$custom-light: #685396;
$custom-dark: #000000;
JSON
{
  "hex": "#21136a",
  "rgb": {
    "r": 33,
    "g": 19,
    "b": 106
  },
  "hsl": {
    "h": 249.655,
    "s": 69.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.27858,
    "c": 0.13987,
    "h": 279.6
  },
  "luminance": 0.0183
}

Semantic roles & 50–950 ramp

primary
#21136A
secondary
#90A138
accent
#EC3BD0
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #21136A

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

Preview Lab → · Contrast checker → · Palette generator →

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