#2120A8#2120A8

#2120A8 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 36.8% C 0.205 H 270.6°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#2120A8
RGBrgb(33, 32, 168)
HSLhsl(240, 68%, 39%)
HSVhsv(240, 81%, 66%)
CMYKcmyk(80.4%, 81%, 0%, 34.1%)
CIE-LABlab(24.27, 47.46, -70.66)
CIE-LCHlch(24.27, 85.11, 303.89°)
OKLaboklab(36.77% 0.0023 -0.2046)
OKLCHoklch(36.77% 0.205 270.6)
XYZxyz(8.2092, 4.1826, 37.4129)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2120A8 #A7A820
analogous
#2063A8 #2120A8 #6520A8
triadic
#2120A8 #A82120 #20A821
tetradic
#2120A8 #A82063 #A7A820 #20A865
square
#2120A8 #A82063 #A7A820 #20A865
split-complementary
#2120A8 #A86520 #63A820
monochromatic
#0D0C41 #171675 #2120A8 #2F2ED7 #6261E1

Accessibility & contrast

On white

11.43
#2120A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2120A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2120A8#FFFFFF#000000##FFFFFF
##2120A81.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AC
Deuteranopia (green-blind)
#0033A6
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2120a8;
/* rgb */ color: rgb(33, 32, 168);
/* oklch */ color: oklch(36.8% 0.205 270.6);
Tailwind
colors: {
  custom: {
    50: '#775fc3',
    500: '#2120a8',
    950: '#000000',
  },
}
SCSS
$custom: #2120a8;
$custom-light: #775fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2120a8",
  "rgb": {
    "r": 33,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 240.441,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.36772,
    "c": 0.20458,
    "h": 270.6
  },
  "luminance": 0.04184
}

Semantic roles & 50–950 ramp

primary
#2120A8
secondary
#C5C65E
accent
#EB3DEA
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #2120A8

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

Preview Lab → · Contrast checker → · Palette generator →

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