#21146C#21146C

#21146C is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.2% C 0.141 H 279.0°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#21146C
RGBrgb(33, 20, 108)
HSLhsl(249, 69%, 25%)
HSVhsv(249, 81%, 42%)
CMYKcmyk(69.4%, 81.5%, 0%, 57.6%)
CIE-LABlab(14.99, 34.09, -48.39)
CIE-LCHlch(14.99, 59.19, 305.17°)
OKLaboklab(28.22% 0.022 -0.1397)
OKLCHoklch(28.22% 0.141 279)
XYZxyz(3.5833, 1.9061, 14.3635)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21146C #5F6C14
analogous
#14336C #21146C #4D146C
triadic
#21146C #6C2114 #146C21
tetradic
#21146C #6C1433 #5F6C14 #146C4D
square
#21146C #6C1433 #5F6C14 #146C4D
split-complementary
#21146C #6C4D14 #336C14
monochromatic
#08051A #110A38 #21146C #311EA0 #4127D3

Accessibility & contrast

On white

15.20
#21146C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#21146C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21146C
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21146C#FFFFFF#000000##FFFFFF
##21146C1.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21146c;
/* rgb */ color: rgb(33, 20, 108);
/* oklch */ color: oklch(28.2% 0.141 279.0);
Tailwind
colors: {
  custom: {
    50: '#695497',
    500: '#21146c',
    950: '#000000',
  },
}
SCSS
$custom: #21146c;
$custom-light: #695497;
$custom-dark: #000000;
JSON
{
  "hex": "#21146c",
  "rgb": {
    "r": 33,
    "g": 20,
    "b": 108
  },
  "hsl": {
    "h": 248.864,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28221,
    "c": 0.14147,
    "h": 279
  },
  "luminance": 0.01906
}

Semantic roles & 50–950 ramp

primary
#21146C
secondary
#93A339
accent
#EC3CD2
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #21146C

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

Preview Lab → · Contrast checker → · Palette generator →

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