#2120AA#2120AA

#2120AA is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.0% C 0.207 H 270.5°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#2120AA
RGBrgb(33, 32, 170)
HSLhsl(240, 68%, 40%)
HSVhsv(240, 81%, 67%)
CMYKcmyk(80.6%, 81.2%, 0%, 33.3%)
CIE-LABlab(24.51, 48.09, -71.47)
CIE-LCHlch(24.51, 86.14, 303.94°)
OKLaboklab(37.01% 0.0018 -0.2069)
OKLCHoklch(37.01% 0.207 270.5)
XYZxyz(8.3969, 4.2577, 38.4017)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2120AA #A9AA20
analogous
#2064AA #2120AA #6620AA
triadic
#2120AA #AA2120 #20AA21
tetradic
#2120AA #AA2064 #A9AA20 #20AA66
square
#2120AA #AA2064 #A9AA20 #20AA66
split-complementary
#2120AA #AA6620 #64AA20
monochromatic
#0D0D43 #171676 #2120AA #312FD8 #6463E2

Accessibility & contrast

On white

11.34
#2120AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2120AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2120AA
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2120AA#FFFFFF#000000##FFFFFF
##2120AA1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AE
Deuteranopia (green-blind)
#0033A8
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2120aa;
/* rgb */ color: rgb(33, 32, 170);
/* oklch */ color: oklch(37.0% 0.207 270.5);
Tailwind
colors: {
  custom: {
    50: '#775fc5',
    500: '#2120aa',
    950: '#000000',
  },
}
SCSS
$custom: #2120aa;
$custom-light: #775fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2120aa",
  "rgb": {
    "r": 33,
    "g": 32,
    "b": 170
  },
  "hsl": {
    "h": 240.435,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37008,
    "c": 0.20692,
    "h": 270.5
  },
  "luminance": 0.04259
}

Semantic roles & 50–950 ramp

primary
#2120AA
secondary
#C6C75F
accent
#EB3DEA
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2120AA

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

Preview Lab → · Contrast checker → · Palette generator →

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