#21146A#21146A

#21146A is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.139 H 279.4°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#21146A
RGBrgb(33, 20, 106)
HSLhsl(249, 68%, 25%)
HSVhsv(249, 81%, 42%)
CMYKcmyk(68.9%, 81.1%, 0%, 58.4%)
CIE-LABlab(14.76, 33.42, -47.46)
CIE-LCHlch(14.76, 58.05, 305.16°)
OKLaboklab(27.99% 0.0226 -0.137)
OKLCHoklch(27.99% 0.139 279.4)
XYZxyz(3.4780, 1.8640, 13.8094)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21146A #5D6A14
analogous
#14326A #21146A #4C146A
triadic
#21146A #6A2114 #146A21
tetradic
#21146A #6A1432 #5D6A14 #146A4C
square
#21146A #6A1432 #5D6A14 #146A4C
split-complementary
#21146A #6A4C14 #326A14
monochromatic
#08051A #110A37 #21146A #311E9D #4127D1

Accessibility & contrast

On white

15.30
#21146A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21146A
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21146A#FFFFFF#000000##FFFFFF
##21146A1.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21146a;
/* rgb */ color: rgb(33, 20, 106);
/* oklch */ color: oklch(28.0% 0.139 279.4);
Tailwind
colors: {
  custom: {
    50: '#685496',
    500: '#21146a',
    950: '#000000',
  },
}
SCSS
$custom: #21146a;
$custom-light: #685496;
$custom-dark: #000000;
JSON
{
  "hex": "#21146a",
  "rgb": {
    "r": 33,
    "g": 20,
    "b": 106
  },
  "hsl": {
    "h": 249.07,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.27992,
    "c": 0.13887,
    "h": 279.4
  },
  "luminance": 0.01864
}

Semantic roles & 50–950 ramp

primary
#21146A
secondary
#91A139
accent
#EB3DD1
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #21146A

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

Preview Lab → · Contrast checker → · Palette generator →

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