#2120A6#2120A6

#2120A6 is a dark, highly saturated blue. Relative luminance 0.041; OKLCH L 36.5% C 0.202 H 270.8°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#2120A6
RGBrgb(33, 32, 166)
HSLhsl(240, 68%, 39%)
HSVhsv(240, 81%, 65%)
CMYKcmyk(80.1%, 80.7%, 0%, 34.9%)
CIE-LABlab(24.03, 46.81, -69.84)
CIE-LCHlch(24.03, 84.08, 303.83°)
OKLaboklab(36.54% 0.0027 -0.2022)
OKLCHoklch(36.54% 0.202 270.8)
XYZxyz(8.0243, 4.1086, 36.4391)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2120A6 #A5A620
analogous
#2062A6 #2120A6 #6420A6
triadic
#2120A6 #A62120 #20A621
tetradic
#2120A6 #A62062 #A5A620 #20A664
square
#2120A6 #A62062 #A5A620 #20A664
split-complementary
#2120A6 #A66420 #62A620
monochromatic
#0D0C3F #171673 #2120A6 #2E2DD6 #6160E0

Accessibility & contrast

On white

11.53
#2120A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2120A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2120A6#FFFFFF#000000##FFFFFF
##2120A61.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AA
Deuteranopia (green-blind)
#0032A4
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2120a6;
/* rgb */ color: rgb(33, 32, 166);
/* oklch */ color: oklch(36.5% 0.202 270.8);
Tailwind
colors: {
  custom: {
    50: '#765fc2',
    500: '#2120a6',
    950: '#000000',
  },
}
SCSS
$custom: #2120a6;
$custom-light: #765fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2120a6",
  "rgb": {
    "r": 33,
    "g": 32,
    "b": 166
  },
  "hsl": {
    "h": 240.448,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.36537,
    "c": 0.20223,
    "h": 270.8
  },
  "luminance": 0.0411
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2120A6

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

Preview Lab → · Contrast checker → · Palette generator →

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