#212073#212073

#212073 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.8% C 0.138 H 275.2°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#212073
RGBrgb(33, 32, 115)
HSLhsl(241, 56%, 29%)
HSVhsv(241, 72%, 45%)
CMYKcmyk(71.3%, 72.2%, 0%, 54.9%)
CIE-LABlab(18.34, 29.28, -47.41)
CIE-LCHlch(18.34, 55.73, 301.70°)
OKLaboklab(30.83% 0.0126 -0.137)
OKLCHoklch(30.83% 0.138 275.2)
XYZxyz(4.2372, 2.5938, 16.4937)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212073 #727320
analogous
#204973 #212073 #4B2073
triadic
#212073 #732120 #207321
tetradic
#212073 #732049 #727320 #20734B
square
#212073 #732049 #727320 #20734B
split-complementary
#212073 #734B20 #497320
monochromatic
#070718 #131343 #212073 #2F2DA3 #4443CB

Accessibility & contrast

On white

13.83
#212073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#212073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212073
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212073#FFFFFF#000000##FFFFFF
##2120731.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003076
Deuteranopia (green-blind)
#002971
Tritanopia (blue-blind)
#003747
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #212073;
/* rgb */ color: rgb(33, 32, 115);
/* oklch */ color: oklch(30.8% 0.138 275.2);
Tailwind
colors: {
  custom: {
    50: '#695c9c',
    500: '#212073',
    950: '#000000',
  },
}
SCSS
$custom: #212073;
$custom-light: #695c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#212073",
  "rgb": {
    "r": 33,
    "g": 32,
    "b": 115
  },
  "hsl": {
    "h": 240.723,
    "s": 56.463,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30829,
    "c": 0.13753,
    "h": 275.2
  },
  "luminance": 0.02594
}

Semantic roles & 50–950 ramp

primary
#212073
secondary
#A5A748
accent
#E048DE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #212073

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

Preview Lab → · Contrast checker → · Palette generator →

#212073 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva