#2120AC#2120AC

#2120AC is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.2% C 0.209 H 270.4°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#2120AC
RGBrgb(33, 32, 172)
HSLhsl(240, 69%, 40%)
HSVhsv(240, 81%, 67%)
CMYKcmyk(80.8%, 81.4%, 0%, 32.5%)
CIE-LABlab(24.75, 48.73, -72.28)
CIE-LCHlch(24.75, 87.17, 303.99°)
OKLaboklab(37.24% 0.0014 -0.2092)
OKLCHoklch(37.24% 0.209 270.4)
XYZxyz(8.5876, 4.3339, 39.4057)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2120AC #ABAC20
analogous
#2065AC #2120AC #6720AC
triadic
#2120AC #AC2120 #20AC21
tetradic
#2120AC #AC2065 #ABAC20 #20AC67
square
#2120AC #AC2065 #ABAC20 #20AC67
split-complementary
#2120AC #AC6720 #65AC20
monochromatic
#0D0D45 #171678 #2120AC #3231D9 #6564E2

Accessibility & contrast

On white

11.25
#2120AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2120AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2120AC#FFFFFF#000000##FFFFFF
##2120AC1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B0
Deuteranopia (green-blind)
#0033AA
Tritanopia (blue-blind)
#004C67
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2120ac;
/* rgb */ color: rgb(33, 32, 172);
/* oklch */ color: oklch(37.2% 0.209 270.4);
Tailwind
colors: {
  custom: {
    50: '#785fc6',
    500: '#2120ac',
    950: '#000000',
  },
}
SCSS
$custom: #2120ac;
$custom-light: #785fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2120ac",
  "rgb": {
    "r": 33,
    "g": 32,
    "b": 172
  },
  "hsl": {
    "h": 240.429,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.37245,
    "c": 0.20925,
    "h": 270.4
  },
  "luminance": 0.04335
}

Semantic roles & 50–950 ramp

primary
#2120AC
secondary
#C7C760
accent
#EB3CEA
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2120AC

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

Preview Lab → · Contrast checker → · Palette generator →

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