#21136C#21136C

#21136C is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.142 H 279.1°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#21136C
RGBrgb(33, 19, 108)
HSLhsl(249, 70%, 25%)
HSVhsv(249, 82%, 42%)
CMYKcmyk(69.4%, 82.4%, 0%, 57.6%)
CIE-LABlab(14.80, 34.64, -48.70)
CIE-LCHlch(14.80, 59.76, 305.42°)
OKLaboklab(28.09% 0.0226 -0.1406)
OKLCHoklch(28.09% 0.142 279.1)
XYZxyz(3.5660, 1.8715, 14.3578)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21136C #5E6C13
analogous
#13326C #21136C #4D136C
triadic
#21136C #6C2113 #136C21
tetradic
#21136C #6C1332 #5E6C13 #136C4D
square
#21136C #6C1332 #5E6C13 #136C4D
split-complementary
#21136C #6C4D13 #326C13
monochromatic
#08051A #110A38 #21136C #311CA0 #4125D4

Accessibility & contrast

On white

15.28
#21136C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21136C
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21136C#FFFFFF#000000##FFFFFF
##21136C1.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296E
Deuteranopia (green-blind)
#00226A
Tritanopia (blue-blind)
#002E3F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #21136c;
/* rgb */ color: rgb(33, 19, 108);
/* oklch */ color: oklch(28.1% 0.142 279.1);
Tailwind
colors: {
  custom: {
    50: '#695397',
    500: '#21136c',
    950: '#000000',
  },
}
SCSS
$custom: #21136c;
$custom-light: #695397;
$custom-dark: #000000;
JSON
{
  "hex": "#21136c",
  "rgb": {
    "r": 33,
    "g": 19,
    "b": 108
  },
  "hsl": {
    "h": 249.438,
    "s": 70.079,
    "l": 24.902
  },
  "oklch": {
    "l": 0.2809,
    "c": 0.14244,
    "h": 279.1
  },
  "luminance": 0.01872
}

Semantic roles & 50–950 ramp

primary
#21136C
secondary
#92A338
accent
#ED3BD1
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #21136C

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

Preview Lab → · Contrast checker → · Palette generator →

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