#2120BA#2120BA

#2120BA is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.9% C 0.225 H 269.6°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#2120BA
RGBrgb(33, 32, 186)
HSLhsl(240, 71%, 43%)
HSVhsv(240, 83%, 73%)
CMYKcmyk(82.3%, 82.8%, 0%, 27.1%)
CIE-LABlab(26.45, 53.10, -77.82)
CIE-LCHlch(26.45, 94.21, 304.31°)
OKLaboklab(38.92% -0.0015 -0.2253)
OKLCHoklch(38.92% 0.225 269.6)
XYZxyz(10.0036, 4.9003, 46.8635)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2120BA #B9BA20
analogous
#206CBA #2120BA #6E20BA
triadic
#2120BA #BA2120 #20BA21
tetradic
#2120BA #BA206C #B9BA20 #20BA6E
square
#2120BA #BA206C #B9BA20 #20BA6E
split-complementary
#2120BA #BA6E20 #6CBA20
monochromatic
#0E0E52 #181786 #2120BA #3B3ADD #6F6EE6

Accessibility & contrast

On white

10.60
#2120BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2120BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2120BA
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2120BA#FFFFFF#000000##FFFFFF
##2120BA1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046BE
Deuteranopia (green-blind)
#0036B7
Tritanopia (blue-blind)
#00526F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2120ba;
/* rgb */ color: rgb(33, 32, 186);
/* oklch */ color: oklch(38.9% 0.225 269.6);
Tailwind
colors: {
  custom: {
    50: '#7b60d0',
    500: '#2120ba',
    950: '#000000',
  },
}
SCSS
$custom: #2120ba;
$custom-light: #7b60d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2120ba",
  "rgb": {
    "r": 33,
    "g": 32,
    "b": 186
  },
  "hsl": {
    "h": 240.39,
    "s": 70.642,
    "l": 42.745
  },
  "oklch": {
    "l": 0.38915,
    "c": 0.22529,
    "h": 269.6
  },
  "luminance": 0.04902
}

Semantic roles & 50–950 ramp

primary
#2120BA
secondary
#CCCC69
accent
#ED3AEC
background
#F8F5FD
surface
#F0EAFA
border
#CBC6D3
text
#0C0514
muted
#7D7983

Preview Lab

Preview with #2120BA

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

Preview Lab → · Contrast checker → · Palette generator →

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