#2129AF#2129AF

#2129AF is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 38.7% C 0.205 H 269.6°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#2129AF
RGBrgb(33, 41, 175)
HSLhsl(237, 68%, 41%)
HSVhsv(237, 81%, 69%)
CMYKcmyk(81.1%, 76.6%, 0%, 31.4%)
CIE-LABlab(26.74, 44.96, -70.76)
CIE-LCHlch(26.74, 83.84, 302.43°)
OKLaboklab(38.75% -0.0016 -0.205)
OKLCHoklch(38.75% 0.205 269.6)
XYZxyz(9.1554, 5.0033, 41.0323)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2129AF #AFA721
analogous
#2170AF #2129AF #6021AF
triadic
#2129AF #AF2129 #29AF21
tetradic
#2129AF #AF2170 #AFA721 #21AF60
square
#2129AF #AF2170 #AFA721 #21AF60
split-complementary
#2129AF #AF6021 #70AF21
monochromatic
#0E1148 #171D7C #2129AF #343ED9 #686FE3

Accessibility & contrast

On white

10.50
#2129AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2129AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2129AF
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2129AF#FFFFFF#000000##FFFFFF
##2129AF1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B3
Deuteranopia (green-blind)
#0038AD
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2129af;
/* rgb */ color: rgb(33, 41, 175);
/* oklch */ color: oklch(38.7% 0.205 269.6);
Tailwind
colors: {
  custom: {
    50: '#7865c8',
    500: '#2129af',
    950: '#000000',
  },
}
SCSS
$custom: #2129af;
$custom-light: #7865c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2129af",
  "rgb": {
    "r": 33,
    "g": 41,
    "b": 175
  },
  "hsl": {
    "h": 236.62,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38748,
    "c": 0.20501,
    "h": 269.6
  },
  "luminance": 0.05004
}

Semantic roles & 50–950 ramp

primary
#2129AF
secondary
#C8C264
accent
#E13DEB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2129AF

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

Preview Lab → · Contrast checker → · Palette generator →

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