#2129A7#2129A7

#2129A7 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.9% C 0.195 H 269.9°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#2129A7
RGBrgb(33, 41, 167)
HSLhsl(236, 67%, 39%)
HSVhsv(236, 80%, 65%)
CMYKcmyk(80.2%, 75.4%, 0%, 34.5%)
CIE-LABlab(25.86, 42.23, -67.42)
CIE-LCHlch(25.86, 79.55, 302.06°)
OKLaboklab(37.86% -0.0003 -0.1953)
OKLCHoklch(37.86% 0.195 269.9)
XYZxyz(8.3928, 4.6983, 37.0162)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2129A7 #A79F21
analogous
#216CA7 #2129A7 #5C21A7
triadic
#2129A7 #A72129 #29A721
tetradic
#2129A7 #A7216C #A79F21 #21A75C
square
#2129A7 #A7216C #A79F21 #21A75C
split-complementary
#2129A7 #A75C21 #6CA721
monochromatic
#0D1041 #171C74 #2129A7 #2F39D6 #626AE0

Accessibility & contrast

On white

10.83
#2129A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2129A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2129A7
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2129A7#FFFFFF#000000##FFFFFF
##2129A71.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AB
Deuteranopia (green-blind)
#0036A5
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2129a7;
/* rgb */ color: rgb(33, 41, 167);
/* oklch */ color: oklch(37.9% 0.195 269.9);
Tailwind
colors: {
  custom: {
    50: '#7564c2',
    500: '#2129a7',
    950: '#000000',
  },
}
SCSS
$custom: #2129a7;
$custom-light: #7564c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2129a7",
  "rgb": {
    "r": 33,
    "g": 41,
    "b": 167
  },
  "hsl": {
    "h": 236.418,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37859,
    "c": 0.19529,
    "h": 269.9
  },
  "luminance": 0.04699
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2129A7

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

Preview Lab → · Contrast checker → · Palette generator →

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