#2120A0#2120A0

#2120A0 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.195 H 271.2°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#2120A0
RGBrgb(33, 32, 160)
HSLhsl(240, 67%, 38%)
HSVhsv(240, 80%, 63%)
CMYKcmyk(79.4%, 80%, 0%, 37.3%)
CIE-LABlab(23.32, 44.86, -67.38)
CIE-LCHlch(23.32, 80.95, 303.66°)
OKLaboklab(35.83% 0.004 -0.1951)
OKLCHoklch(35.83% 0.195 271.2)
XYZxyz(7.4867, 3.8936, 33.6079)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2120A0 #9FA020
analogous
#205FA0 #2120A0 #6120A0
triadic
#2120A0 #A02120 #20A021
tetradic
#2120A0 #A0205F #9FA020 #20A061
square
#2120A0 #A0205F #9FA020 #20A061
split-complementary
#2120A0 #A06120 #5FA020
monochromatic
#0C0C3A #16166D #2120A0 #2C2AD3 #5D5CDE

Accessibility & contrast

On white

11.81
#2120A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2120A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2120A0#FFFFFF#000000##FFFFFF
##2120A01.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA4
Deuteranopia (green-blind)
#00319E
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2120a0;
/* rgb */ color: rgb(33, 32, 160);
/* oklch */ color: oklch(35.8% 0.195 271.2);
Tailwind
colors: {
  custom: {
    50: '#755ebd',
    500: '#2120a0',
    950: '#000000',
  },
}
SCSS
$custom: #2120a0;
$custom-light: #755ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#2120a0",
  "rgb": {
    "r": 33,
    "g": 32,
    "b": 160
  },
  "hsl": {
    "h": 240.469,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.35834,
    "c": 0.1951,
    "h": 271.2
  },
  "luminance": 0.03894
}

Semantic roles & 50–950 ramp

primary
#2120A0
secondary
#C2C359
accent
#EA3EE8
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2120A0

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

Preview Lab → · Contrast checker → · Palette generator →

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