#2121BE#2121BE

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

Color values

HEX#2121BE
RGBrgb(33, 33, 190)
HSLhsl(240, 70%, 44%)
HSVhsv(240, 83%, 75%)
CMYKcmyk(82.6%, 82.6%, 0%, 25.5%)
CIE-LABlab(27.09, 53.87, -79.11)
CIE-LCHlch(27.09, 95.71, 304.25°)
OKLaboklab(39.5% -0.0025 -0.229)
OKLCHoklch(39.5% 0.229 269.4)
XYZxyz(10.4622, 5.1275, 49.1435)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2121BE #BEBE21
analogous
#216FBE #2121BE #6F21BE
triadic
#2121BE #BE2121 #21BE21
tetradic
#2121BE #BE216F #BEBE21 #21BE6F
square
#2121BE #BE216F #BEBE21 #21BE6F
split-complementary
#2121BE #BE6F21 #6FBE21
monochromatic
#0F0F56 #18188A #2121BE #3F3FDE #7373E7

Accessibility & contrast

On white

10.37
#2121BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2121BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2121BE
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2121BE#FFFFFF#000000##FFFFFF
##2121BE1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048C2
Deuteranopia (green-blind)
#0038BB
Tritanopia (blue-blind)
#005472
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2121be;
/* rgb */ color: rgb(33, 33, 190);
/* oklch */ color: oklch(39.5% 0.229 269.4);
Tailwind
colors: {
  custom: {
    50: '#7c61d3',
    500: '#2121be',
    950: '#000000',
  },
}
SCSS
$custom: #2121be;
$custom-light: #7c61d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2121be",
  "rgb": {
    "r": 33,
    "g": 33,
    "b": 190
  },
  "hsl": {
    "h": 240,
    "s": 70.404,
    "l": 43.725
  },
  "oklch": {
    "l": 0.39502,
    "c": 0.22906,
    "h": 269.4
  },
  "luminance": 0.05129
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2121BE

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

Preview Lab → · Contrast checker → · Palette generator →

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