#2129A0#2129A0

#2129A0 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.1% C 0.187 H 270.2°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#2129A0
RGBrgb(33, 41, 160)
HSLhsl(236, 66%, 38%)
HSVhsv(236, 79%, 63%)
CMYKcmyk(79.4%, 74.4%, 0%, 37.3%)
CIE-LABlab(25.10, 39.80, -64.43)
CIE-LCHlch(25.10, 75.73, 301.71°)
OKLaboklab(37.09% 0.0008 -0.1866)
OKLCHoklch(37.09% 0.187 270.2)
XYZxyz(7.7631, 4.4464, 33.7000)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2129A0 #A09821
analogous
#2169A0 #2129A0 #5821A0
triadic
#2129A0 #A02129 #29A021
tetradic
#2129A0 #A02169 #A09821 #21A058
square
#2129A0 #A02169 #A09821 #21A058
split-complementary
#2129A0 #A05821 #69A021
monochromatic
#0C0F3B #171C6D #2129A0 #2B36D3 #5E66DE

Accessibility & contrast

On white

11.11
#2129A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2129A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2129A0
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2129A0#FFFFFF#000000##FFFFFF
##2129A01.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A3
Deuteranopia (green-blind)
#00359E
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2129a0;
/* rgb */ color: rgb(33, 41, 160);
/* oklch */ color: oklch(37.1% 0.187 270.2);
Tailwind
colors: {
  custom: {
    50: '#7464bd',
    500: '#2129a0',
    950: '#000000',
  },
}
SCSS
$custom: #2129a0;
$custom-light: #7464bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2129a0",
  "rgb": {
    "r": 33,
    "g": 41,
    "b": 160
  },
  "hsl": {
    "h": 236.22,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37091,
    "c": 0.18661,
    "h": 270.2
  },
  "luminance": 0.04447
}

Semantic roles & 50–950 ramp

primary
#2129A0
secondary
#C2BC5B
accent
#DE3FE9
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2129A0

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

Preview Lab → · Contrast checker → · Palette generator →

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