#21136D#21136D

#21136D is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.2% C 0.144 H 278.9°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#21136D
RGBrgb(33, 19, 109)
HSLhsl(249, 70%, 25%)
HSVhsv(249, 83%, 43%)
CMYKcmyk(69.7%, 82.6%, 0%, 57.3%)
CIE-LABlab(14.91, 34.96, -49.16)
CIE-LCHlch(14.91, 60.32, 305.42°)
OKLaboklab(28.21% 0.0223 -0.142)
OKLCHoklch(28.21% 0.144 278.9)
XYZxyz(3.6195, 1.8929, 14.6397)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21136D #5F6D13
analogous
#13326D #21136D #4E136D
triadic
#21136D #6D2113 #136D21
tetradic
#21136D #6D1332 #5F6D13 #136D4E
square
#21136D #6D1332 #5F6D13 #136D4E
split-complementary
#21136D #6D4E13 #326D13
monochromatic
#08051A #110A39 #21136D #311CA1 #4125D5

Accessibility & contrast

On white

15.23
#21136D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#21136D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21136D
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21136D#FFFFFF#000000##FFFFFF
##21136D1.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002970
Deuteranopia (green-blind)
#00226B
Tritanopia (blue-blind)
#002E40
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #21136d;
/* rgb */ color: rgb(33, 19, 109);
/* oklch */ color: oklch(28.2% 0.144 278.9);
Tailwind
colors: {
  custom: {
    50: '#695398',
    500: '#21136d',
    950: '#000000',
  },
}
SCSS
$custom: #21136d;
$custom-light: #695398;
$custom-dark: #000000;
JSON
{
  "hex": "#21136d",
  "rgb": {
    "r": 33,
    "g": 19,
    "b": 109
  },
  "hsl": {
    "h": 249.333,
    "s": 70.313,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28206,
    "c": 0.14371,
    "h": 278.9
  },
  "luminance": 0.01893
}

Semantic roles & 50–950 ramp

primary
#21136D
secondary
#93A438
accent
#ED3BD1
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #21136D

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

Preview Lab → · Contrast checker → · Palette generator →

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