#2120BD#2120BD

#2120BD is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 39.3% C 0.229 H 269.5°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#2120BD
RGBrgb(33, 32, 189)
HSLhsl(240, 71%, 43%)
HSVhsv(240, 83%, 74%)
CMYKcmyk(82.5%, 83.1%, 0%, 25.9%)
CIE-LABlab(26.82, 54.02, -78.98)
CIE-LCHlch(26.82, 95.69, 304.37°)
OKLaboklab(39.28% -0.0022 -0.2286)
OKLCHoklch(39.28% 0.229 269.5)
XYZxyz(10.3259, 5.0292, 48.5608)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2120BD #BCBD20
analogous
#206DBD #2120BD #6F20BD
triadic
#2120BD #BD2120 #20BD21
tetradic
#2120BD #BD206D #BCBD20 #20BD6F
square
#2120BD #BD206D #BCBD20 #20BD6F
split-complementary
#2120BD #BD6F20 #6DBD20
monochromatic
#0F0E54 #181789 #2120BD #3D3CDE #7171E7

Accessibility & contrast

On white

10.47
#2120BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2120BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2120BD
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2120BD#FFFFFF#000000##FFFFFF
##2120BD1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047C1
Deuteranopia (green-blind)
#0037BA
Tritanopia (blue-blind)
#005371
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2120bd;
/* rgb */ color: rgb(33, 32, 189);
/* oklch */ color: oklch(39.3% 0.229 269.5);
Tailwind
colors: {
  custom: {
    50: '#7c60d2',
    500: '#2120bd',
    950: '#000000',
  },
}
SCSS
$custom: #2120bd;
$custom-light: #7c60d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2120bd",
  "rgb": {
    "r": 33,
    "g": 32,
    "b": 189
  },
  "hsl": {
    "h": 240.382,
    "s": 71.041,
    "l": 43.333
  },
  "oklch": {
    "l": 0.39275,
    "c": 0.22866,
    "h": 269.5
  },
  "luminance": 0.0503
}

Semantic roles & 50–950 ramp

primary
#2120BD
secondary
#CDCD6B
accent
#EE3AED
background
#F8F5FD
surface
#F0EAFA
border
#CBC6D3
text
#0C0514
muted
#7D7983

Preview Lab

Preview with #2120BD

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

Preview Lab → · Contrast checker → · Palette generator →

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