#2129BA#2129BA

#2129BA is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.0% C 0.218 H 269.1°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#2129BA
RGBrgb(33, 41, 186)
HSLhsl(237, 70%, 43%)
HSVhsv(237, 82%, 73%)
CMYKcmyk(82.3%, 78%, 0%, 27.1%)
CIE-LABlab(27.99, 48.62, -75.26)
CIE-LCHlch(27.99, 89.60, 302.86°)
OKLaboklab(39.99% -0.0034 -0.218)
OKLCHoklch(39.99% 0.218 269.1)
XYZxyz(10.2800, 5.4532, 46.9556)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2129BA #BAB221
analogous
#2175BA #2129BA #6621BA
triadic
#2129BA #BA2129 #29BA21
tetradic
#2129BA #BA2175 #BAB221 #21BA66
square
#2129BA #BA2175 #BAB221 #21BA66
split-complementary
#2129BA #BA6621 #75BA21
monochromatic
#0F1252 #181E86 #2129BA #3C44DC #7076E6

Accessibility & contrast

On white

10.04
#2129BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2129BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2129BA
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2129BA#FFFFFF#000000##FFFFFF
##2129BA1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABE
Deuteranopia (green-blind)
#003AB8
Tritanopia (blue-blind)
#005571
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2129ba;
/* rgb */ color: rgb(33, 41, 186);
/* oklch */ color: oklch(40.0% 0.218 269.1);
Tailwind
colors: {
  custom: {
    50: '#7a65d0',
    500: '#2129ba',
    950: '#000000',
  },
}
SCSS
$custom: #2129ba;
$custom-light: #7a65d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2129ba",
  "rgb": {
    "r": 33,
    "g": 41,
    "b": 186
  },
  "hsl": {
    "h": 236.863,
    "s": 69.863,
    "l": 42.941
  },
  "oklch": {
    "l": 0.3999,
    "c": 0.21806,
    "h": 269.1
  },
  "luminance": 0.05454
}

Semantic roles & 50–950 ramp

primary
#2129BA
secondary
#CCC76B
accent
#E33BED
background
#F8F6FD
surface
#EFEBFA
border
#CAC6D3
text
#0B0614
muted
#7C7A83

Preview Lab

Preview with #2129BA

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

Preview Lab → · Contrast checker → · Palette generator →

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