#2129AD#2129AD

#2129AD is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.5% C 0.203 H 269.6°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#2129AD
RGBrgb(33, 41, 173)
HSLhsl(237, 68%, 40%)
HSVhsv(237, 81%, 68%)
CMYKcmyk(80.9%, 76.3%, 0%, 32.2%)
CIE-LABlab(26.52, 44.28, -69.93)
CIE-LCHlch(26.52, 82.78, 302.34°)
OKLaboklab(38.53% -0.0013 -0.2026)
OKLCHoklch(38.53% 0.203 269.6)
XYZxyz(8.9604, 4.9253, 40.0055)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2129AD #ADA521
analogous
#216FAD #2129AD #5F21AD
triadic
#2129AD #AD2129 #29AD21
tetradic
#2129AD #AD216F #ADA521 #21AD5F
square
#2129AD #AD216F #ADA521 #21AD5F
split-complementary
#2129AD #AD5F21 #6FAD21
monochromatic
#0D1146 #171D7A #2129AD #333DD8 #666EE2

Accessibility & contrast

On white

10.58
#2129AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2129AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2129AD
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2129AD#FFFFFF#000000##FFFFFF
##2129AD1.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B1
Deuteranopia (green-blind)
#0038AB
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2129ad;
/* rgb */ color: rgb(33, 41, 173);
/* oklch */ color: oklch(38.5% 0.203 269.6);
Tailwind
colors: {
  custom: {
    50: '#7764c7',
    500: '#2129ad',
    950: '#000000',
  },
}
SCSS
$custom: #2129ad;
$custom-light: #7764c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2129ad",
  "rgb": {
    "r": 33,
    "g": 41,
    "b": 173
  },
  "hsl": {
    "h": 236.571,
    "s": 67.961,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38525,
    "c": 0.20259,
    "h": 269.6
  },
  "luminance": 0.04926
}

Semantic roles & 50–950 ramp

primary
#2129AD
secondary
#C7C262
accent
#E13DEB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2129AD

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

Preview Lab → · Contrast checker → · Palette generator →

#2129AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva