#212077#212077

#212077 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.143 H 274.8°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#212077
RGBrgb(33, 32, 119)
HSLhsl(241, 58%, 30%)
HSVhsv(241, 73%, 47%)
CMYKcmyk(72.3%, 73.1%, 0%, 53.3%)
CIE-LABlab(18.75, 30.74, -49.31)
CIE-LCHlch(18.75, 58.11, 301.94°)
OKLaboklab(31.25% 0.0119 -0.1425)
OKLCHoklch(31.25% 0.143 274.8)
XYZxyz(4.4724, 2.6878, 17.7323)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212077 #767720
analogous
#204A77 #212077 #4D2077
triadic
#212077 #772120 #207721
tetradic
#212077 #77204A #767720 #20774D
square
#212077 #77204A #767720 #20774D
split-complementary
#212077 #774D20 #4A7720
monochromatic
#070618 #141347 #212077 #2E2DA7 #4645CD

Accessibility & contrast

On white

13.66
#212077 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#212077 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212077
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212077#FFFFFF#000000##FFFFFF
##2120771.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327A
Deuteranopia (green-blind)
#002A75
Tritanopia (blue-blind)
#003849
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #212077;
/* rgb */ color: rgb(33, 32, 119);
/* oklch */ color: oklch(31.2% 0.143 274.8);
Tailwind
colors: {
  custom: {
    50: '#6a5c9f',
    500: '#212077',
    950: '#000000',
  },
}
SCSS
$custom: #212077;
$custom-light: #6a5c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#212077",
  "rgb": {
    "r": 33,
    "g": 32,
    "b": 119
  },
  "hsl": {
    "h": 240.69,
    "s": 57.616,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31248,
    "c": 0.14301,
    "h": 274.8
  },
  "luminance": 0.02688
}

Semantic roles & 50–950 ramp

primary
#212077
secondary
#A9AA48
accent
#E147DF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #212077

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

Preview Lab → · Contrast checker → · Palette generator →

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