#2120B1#2120B1

#2120B1 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.8% C 0.215 H 270.1°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#2120B1
RGBrgb(33, 32, 177)
HSLhsl(240, 69%, 41%)
HSVhsv(240, 82%, 69%)
CMYKcmyk(81.4%, 81.9%, 0%, 30.6%)
CIE-LABlab(25.35, 50.31, -74.27)
CIE-LCHlch(25.35, 89.71, 304.11°)
OKLaboklab(37.84% 0.0004 -0.215)
OKLCHoklch(37.84% 0.215 270.1)
XYZxyz(9.0768, 4.5296, 41.9824)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2120B1 #B0B120
analogous
#2067B1 #2120B1 #6920B1
triadic
#2120B1 #B12120 #20B121
tetradic
#2120B1 #B12067 #B0B120 #20B169
square
#2120B1 #B12067 #B0B120 #20B169
split-complementary
#2120B1 #B16920 #67B120
monochromatic
#0E0D49 #17177D #2120B1 #3534DA #6968E4

Accessibility & contrast

On white

11.02
#2120B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2120B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2120B1
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2120B1#FFFFFF#000000##FFFFFF
##2120B11.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B5
Deuteranopia (green-blind)
#0034AF
Tritanopia (blue-blind)
#004E6A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2120b1;
/* rgb */ color: rgb(33, 32, 177);
/* oklch */ color: oklch(37.8% 0.215 270.1);
Tailwind
colors: {
  custom: {
    50: '#7960ca',
    500: '#2120b1',
    950: '#000000',
  },
}
SCSS
$custom: #2120b1;
$custom-light: #7960ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2120b1",
  "rgb": {
    "r": 33,
    "g": 32,
    "b": 177
  },
  "hsl": {
    "h": 240.414,
    "s": 69.378,
    "l": 40.98
  },
  "oklch": {
    "l": 0.37839,
    "c": 0.21503,
    "h": 270.1
  },
  "luminance": 0.04531
}

Semantic roles & 50–950 ramp

primary
#2120B1
secondary
#C8C964
accent
#EC3CEB
background
#F8F5FC
surface
#EFEAF9
border
#CAC6D2
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2120B1

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

Preview Lab → · Contrast checker → · Palette generator →

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