#2120A7#2120A7

#2120A7 is a dark, highly saturated blue. Relative luminance 0.041; OKLCH L 36.7% C 0.203 H 270.7°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#2120A7
RGBrgb(33, 32, 167)
HSLhsl(240, 68%, 39%)
HSVhsv(240, 81%, 65%)
CMYKcmyk(80.2%, 80.8%, 0%, 34.5%)
CIE-LABlab(24.15, 47.13, -70.25)
CIE-LCHlch(24.15, 84.60, 303.86°)
OKLaboklab(36.65% 0.0025 -0.2034)
OKLCHoklch(36.65% 0.203 270.7)
XYZxyz(8.1164, 4.1455, 36.9241)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2120A7 #A6A720
analogous
#2063A7 #2120A7 #6520A7
triadic
#2120A7 #A72120 #20A721
tetradic
#2120A7 #A72063 #A6A720 #20A765
square
#2120A7 #A72063 #A6A720 #20A765
split-complementary
#2120A7 #A76520 #63A720
monochromatic
#0D0C40 #171674 #2120A7 #2F2DD7 #6261E1

Accessibility & contrast

On white

11.48
#2120A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2120A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2120A7#FFFFFF#000000##FFFFFF
##2120A71.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AB
Deuteranopia (green-blind)
#0032A5
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2120a7;
/* rgb */ color: rgb(33, 32, 167);
/* oklch */ color: oklch(36.7% 0.203 270.7);
Tailwind
colors: {
  custom: {
    50: '#765fc3',
    500: '#2120a7',
    950: '#000000',
  },
}
SCSS
$custom: #2120a7;
$custom-light: #765fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2120a7",
  "rgb": {
    "r": 33,
    "g": 32,
    "b": 167
  },
  "hsl": {
    "h": 240.444,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.36654,
    "c": 0.2034,
    "h": 270.7
  },
  "luminance": 0.04146
}

Semantic roles & 50–950 ramp

primary
#2120A7
secondary
#C5C55D
accent
#EB3DE9
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #2120A7

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

Preview Lab → · Contrast checker → · Palette generator →

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