#2129BD#2129BD

#2129BD is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.3% C 0.222 H 269.0°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#2129BD
RGBrgb(33, 41, 189)
HSLhsl(237, 70%, 44%)
HSVhsv(237, 83%, 74%)
CMYKcmyk(82.5%, 78.3%, 0%, 25.9%)
CIE-LABlab(28.33, 49.60, -76.47)
CIE-LCHlch(28.33, 91.14, 302.97°)
OKLaboklab(40.33% -0.0039 -0.2215)
OKLCHoklch(40.33% 0.222 269)
XYZxyz(10.6023, 5.5821, 48.6529)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2129BD #BDB521
analogous
#2177BD #2129BD #6721BD
triadic
#2129BD #BD2129 #29BD21
tetradic
#2129BD #BD2177 #BDB521 #21BD67
square
#2129BD #BD2177 #BDB521 #21BD67
split-complementary
#2129BD #BD6721 #77BD21
monochromatic
#0F1255 #181E89 #2129BD #3E46DD #7278E6

Accessibility & contrast

On white

9.92
#2129BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2129BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2129BD
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2129BD#FFFFFF#000000##FFFFFF
##2129BD1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC1
Deuteranopia (green-blind)
#003BBA
Tritanopia (blue-blind)
#005773
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2129bd;
/* rgb */ color: rgb(33, 41, 189);
/* oklch */ color: oklch(40.3% 0.222 269.0);
Tailwind
colors: {
  custom: {
    50: '#7b65d2',
    500: '#2129bd',
    950: '#000000',
  },
}
SCSS
$custom: #2129bd;
$custom-light: #7b65d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2129bd",
  "rgb": {
    "r": 33,
    "g": 41,
    "b": 189
  },
  "hsl": {
    "h": 236.923,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40331,
    "c": 0.22157,
    "h": 269
  },
  "luminance": 0.05583
}

Semantic roles & 50–950 ramp

primary
#2129BD
secondary
#CDC86D
accent
#E43BED
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2129BD

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

Preview Lab → · Contrast checker → · Palette generator →

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