#2123A9#2123A9

#2123A9 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.3% C 0.203 H 270.4°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#2123A9
RGBrgb(33, 35, 169)
HSLhsl(239, 67%, 40%)
HSVhsv(239, 80%, 66%)
CMYKcmyk(80.5%, 79.3%, 0%, 33.7%)
CIE-LABlab(24.92, 46.23, -70.18)
CIE-LCHlch(24.92, 84.04, 303.38°)
OKLaboklab(37.26% 0.0013 -0.2032)
OKLCHoklch(37.26% 0.203 270.4)
XYZxyz(8.3872, 4.3890, 37.9335)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2123A9 #A9A721
analogous
#2167A9 #2123A9 #6321A9
triadic
#2123A9 #A92123 #23A921
tetradic
#2123A9 #A92167 #A9A721 #21A963
square
#2123A9 #A92167 #A9A721 #21A963
split-complementary
#2123A9 #A96321 #67A921
monochromatic
#0D0E43 #171876 #2123A9 #3133D7 #6466E1

Accessibility & contrast

On white

11.18
#2123A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2123A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2123A9
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2123A9#FFFFFF#000000##FFFFFF
##2123A91.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AD
Deuteranopia (green-blind)
#0034A7
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2123a9;
/* rgb */ color: rgb(33, 35, 169);
/* oklch */ color: oklch(37.3% 0.203 270.4);
Tailwind
colors: {
  custom: {
    50: '#7761c4',
    500: '#2123a9',
    950: '#000000',
  },
}
SCSS
$custom: #2123a9;
$custom-light: #7761c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2123a9",
  "rgb": {
    "r": 33,
    "g": 35,
    "b": 169
  },
  "hsl": {
    "h": 239.118,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37262,
    "c": 0.20323,
    "h": 270.4
  },
  "luminance": 0.0439
}

Semantic roles & 50–950 ramp

primary
#2123A9
secondary
#C6C460
accent
#E83EEA
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #2123A9

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

Preview Lab → · Contrast checker → · Palette generator →

#2123A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva