#2121BD#2121BD

#2121BD is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.4% C 0.228 H 269.4°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#2121BD
RGBrgb(33, 33, 189)
HSLhsl(240, 70%, 44%)
HSVhsv(240, 83%, 74%)
CMYKcmyk(82.5%, 82.5%, 0%, 25.9%)
CIE-LABlab(26.97, 53.56, -78.72)
CIE-LCHlch(26.97, 95.22, 304.23°)
OKLaboklab(39.38% -0.0023 -0.2279)
OKLCHoklch(39.38% 0.228 269.4)
XYZxyz(10.3532, 5.0839, 48.5699)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2121BD #BDBD21
analogous
#216FBD #2121BD #6F21BD
triadic
#2121BD #BD2121 #21BD21
tetradic
#2121BD #BD216F #BDBD21 #21BD6F
square
#2121BD #BD216F #BDBD21 #21BD6F
split-complementary
#2121BD #BD6F21 #6FBD21
monochromatic
#0F0F55 #181889 #2121BD #3E3EDD #7272E6

Accessibility & contrast

On white

10.41
#2121BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2121BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2121BD
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2121BD#FFFFFF#000000##FFFFFF
##2121BD1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048C1
Deuteranopia (green-blind)
#0037BA
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2121bd;
/* rgb */ color: rgb(33, 33, 189);
/* oklch */ color: oklch(39.4% 0.228 269.4);
Tailwind
colors: {
  custom: {
    50: '#7c61d2',
    500: '#2121bd',
    950: '#000000',
  },
}
SCSS
$custom: #2121bd;
$custom-light: #7c61d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2121bd",
  "rgb": {
    "r": 33,
    "g": 33,
    "b": 189
  },
  "hsl": {
    "h": 240,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.39382,
    "c": 0.22793,
    "h": 269.4
  },
  "luminance": 0.05085
}

Semantic roles & 50–950 ramp

primary
#2121BD
secondary
#CDCD6D
accent
#ED3BED
background
#F8F5FD
surface
#F0EAFA
border
#CBC6D3
text
#0C0514
muted
#7D7983

Preview Lab

Preview with #2121BD

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

Preview Lab → · Contrast checker → · Palette generator →

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