#2121A9#2121A9

#2121A9 is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.0% C 0.205 H 270.5°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#2121A9
RGBrgb(33, 33, 169)
HSLhsl(240, 67%, 40%)
HSVhsv(240, 80%, 66%)
CMYKcmyk(80.5%, 80.5%, 0%, 33.7%)
CIE-LABlab(24.56, 47.27, -70.78)
CIE-LCHlch(24.56, 85.11, 303.74°)
OKLaboklab(37.01% 0.0018 -0.2049)
OKLCHoklch(37.01% 0.205 270.5)
XYZxyz(8.3301, 4.2747, 37.9145)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2121A9 #A9A921
analogous
#2165A9 #2121A9 #6521A9
triadic
#2121A9 #A92121 #21A921
tetradic
#2121A9 #A92165 #A9A921 #21A965
square
#2121A9 #A92165 #A9A921 #21A965
split-complementary
#2121A9 #A96521 #65A921
monochromatic
#0D0D43 #171776 #2121A9 #3131D7 #6464E1

Accessibility & contrast

On white

11.32
#2121A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2121A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2121A9
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2121A9#FFFFFF#000000##FFFFFF
##2121A91.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AD
Deuteranopia (green-blind)
#0033A7
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2121a9;
/* rgb */ color: rgb(33, 33, 169);
/* oklch */ color: oklch(37.0% 0.205 270.5);
Tailwind
colors: {
  custom: {
    50: '#7760c4',
    500: '#2121a9',
    950: '#000000',
  },
}
SCSS
$custom: #2121a9;
$custom-light: #7760c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2121a9",
  "rgb": {
    "r": 33,
    "g": 33,
    "b": 169
  },
  "hsl": {
    "h": 240,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37011,
    "c": 0.20493,
    "h": 270.5
  },
  "luminance": 0.04276
}

Semantic roles & 50–950 ramp

primary
#2121A9
secondary
#C6C660
accent
#EA3EEA
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2121A9

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

Preview Lab → · Contrast checker → · Palette generator →

#2121A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva