#2123AA#2123AA

#2123AA is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.4% C 0.204 H 270.3°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#2123AA
RGBrgb(33, 35, 170)
HSLhsl(239, 67%, 40%)
HSVhsv(239, 81%, 67%)
CMYKcmyk(80.6%, 79.4%, 0%, 33.3%)
CIE-LABlab(25.03, 46.56, -70.59)
CIE-LCHlch(25.03, 84.56, 303.41°)
OKLaboklab(37.38% 0.0011 -0.2044)
OKLCHoklch(37.38% 0.204 270.3)
XYZxyz(8.4815, 4.4267, 38.4298)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2123AA #AAA821
analogous
#2168AA #2123AA #6321AA
triadic
#2123AA #AA2123 #23AA21
tetradic
#2123AA #AA2168 #AAA821 #21AA63
square
#2123AA #AA2168 #AAA821 #21AA63
split-complementary
#2123AA #AA6321 #68AA21
monochromatic
#0D0E43 #171877 #2123AA #3134D7 #6466E1

Accessibility & contrast

On white

11.14
#2123AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2123AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2123AA#FFFFFF#000000##FFFFFF
##2123AA1.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AE
Deuteranopia (green-blind)
#0034A8
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2123aa;
/* rgb */ color: rgb(33, 35, 170);
/* oklch */ color: oklch(37.4% 0.204 270.3);
Tailwind
colors: {
  custom: {
    50: '#7761c5',
    500: '#2123aa',
    950: '#000000',
  },
}
SCSS
$custom: #2123aa;
$custom-light: #7761c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2123aa",
  "rgb": {
    "r": 33,
    "g": 35,
    "b": 170
  },
  "hsl": {
    "h": 239.124,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37378,
    "c": 0.20442,
    "h": 270.3
  },
  "luminance": 0.04428
}

Semantic roles & 50–950 ramp

primary
#2123AA
secondary
#C6C561
accent
#E83DEA
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2123AA

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

Preview Lab → · Contrast checker → · Palette generator →

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