#2129A9#2129A9

#2129A9 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.198 H 269.8°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#2129A9
RGBrgb(33, 41, 169)
HSLhsl(236, 67%, 40%)
HSVhsv(236, 80%, 66%)
CMYKcmyk(80.5%, 75.7%, 0%, 33.7%)
CIE-LABlab(26.08, 42.92, -68.26)
CIE-LCHlch(26.08, 80.63, 302.16°)
OKLaboklab(38.08% -0.0006 -0.1977)
OKLCHoklch(38.08% 0.198 269.8)
XYZxyz(8.5791, 4.7728, 37.9975)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2129A9 #A9A121
analogous
#216DA9 #2129A9 #5D21A9
triadic
#2129A9 #A92129 #29A921
tetradic
#2129A9 #A9216D #A9A121 #21A95D
square
#2129A9 #A9216D #A9A121 #21A95D
split-complementary
#2129A9 #A95D21 #6DA921
monochromatic
#0D1043 #171D76 #2129A9 #313AD7 #646BE1

Accessibility & contrast

On white

10.74
#2129A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2129A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2129A9
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2129A9#FFFFFF#000000##FFFFFF
##2129A91.0010.741.9510.74
#FFFFFF10.741.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AD
Deuteranopia (green-blind)
#0037A7
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2129a9;
/* rgb */ color: rgb(33, 41, 169);
/* oklch */ color: oklch(38.1% 0.198 269.8);
Tailwind
colors: {
  custom: {
    50: '#7664c4',
    500: '#2129a9',
    950: '#000000',
  },
}
SCSS
$custom: #2129a9;
$custom-light: #7664c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2129a9",
  "rgb": {
    "r": 33,
    "g": 41,
    "b": 169
  },
  "hsl": {
    "h": 236.471,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.3808,
    "c": 0.19774,
    "h": 269.8
  },
  "luminance": 0.04774
}

Semantic roles & 50–950 ramp

primary
#2129A9
secondary
#C6C060
accent
#E03EEA
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0513
muted
#7C7A82

Preview Lab

Preview with #2129A9

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

Preview Lab → · Contrast checker → · Palette generator →

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