#21136E#21136E

#21136E is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.3% C 0.145 H 278.7°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#21136E
RGBrgb(33, 19, 110)
HSLhsl(249, 71%, 25%)
HSVhsv(249, 83%, 43%)
CMYKcmyk(70%, 82.7%, 0%, 56.9%)
CIE-LABlab(15.03, 35.29, -49.62)
CIE-LCHlch(15.03, 60.89, 305.42°)
OKLaboklab(28.32% 0.022 -0.1433)
OKLCHoklch(28.32% 0.145 278.7)
XYZxyz(3.6736, 1.9146, 14.9248)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21136E #606E13
analogous
#13326E #21136E #4F136E
triadic
#21136E #6E2113 #136E21
tetradic
#21136E #6E1332 #606E13 #136E4F
square
#21136E #6E1332 #606E13 #136E4F
split-complementary
#21136E #6E4F13 #326E13
monochromatic
#08051A #110A3A #21136E #311CA2 #4025D6

Accessibility & contrast

On white

15.18
#21136E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21136E
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21136E#FFFFFF#000000##FFFFFF
##21136E1.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002971
Deuteranopia (green-blind)
#00226C
Tritanopia (blue-blind)
#002F40
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #21136e;
/* rgb */ color: rgb(33, 19, 110);
/* oklch */ color: oklch(28.3% 0.145 278.7);
Tailwind
colors: {
  custom: {
    50: '#695499',
    500: '#21136e',
    950: '#000000',
  },
}
SCSS
$custom: #21136e;
$custom-light: #695499;
$custom-dark: #000000;
JSON
{
  "hex": "#21136e",
  "rgb": {
    "r": 33,
    "g": 19,
    "b": 110
  },
  "hsl": {
    "h": 249.231,
    "s": 70.543,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28322,
    "c": 0.14498,
    "h": 278.7
  },
  "luminance": 0.01915
}

Semantic roles & 50–950 ramp

primary
#21136E
secondary
#94A538
accent
#ED3AD2
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #21136E

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

Preview Lab → · Contrast checker → · Palette generator →

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