#212076#212076

#212076 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.1% C 0.142 H 274.9°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#212076
RGBrgb(33, 32, 118)
HSLhsl(241, 57%, 29%)
HSVhsv(241, 73%, 46%)
CMYKcmyk(72%, 72.9%, 0%, 53.7%)
CIE-LABlab(18.64, 30.37, -48.84)
CIE-LCHlch(18.64, 57.51, 301.88°)
OKLaboklab(31.14% 0.0121 -0.1411)
OKLCHoklch(31.14% 0.142 274.9)
XYZxyz(4.4126, 2.6640, 17.4177)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212076 #757620
analogous
#204A76 #212076 #4C2076
triadic
#212076 #762120 #207621
tetradic
#212076 #76204A #757620 #20764C
square
#212076 #76204A #757620 #20764C
split-complementary
#212076 #764C20 #4A7620
monochromatic
#070718 #141346 #212076 #2E2DA6 #4644CC

Accessibility & contrast

On white

13.70
#212076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#212076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212076
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212076#FFFFFF#000000##FFFFFF
##2120761.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003179
Deuteranopia (green-blind)
#002974
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #212076;
/* rgb */ color: rgb(33, 32, 118);
/* oklch */ color: oklch(31.1% 0.142 274.9);
Tailwind
colors: {
  custom: {
    50: '#6a5c9e',
    500: '#212076',
    950: '#000000',
  },
}
SCSS
$custom: #212076;
$custom-light: #6a5c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#212076",
  "rgb": {
    "r": 33,
    "g": 32,
    "b": 118
  },
  "hsl": {
    "h": 240.698,
    "s": 57.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31143,
    "c": 0.14165,
    "h": 274.9
  },
  "luminance": 0.02664
}

Semantic roles & 50–950 ramp

primary
#212076
secondary
#A8A948
accent
#E147DF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #212076

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

Preview Lab → · Contrast checker → · Palette generator →

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