#212677#212677

#212677 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.136 H 273.2°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#212677
RGBrgb(33, 38, 119)
HSLhsl(237, 57%, 30%)
HSVhsv(237, 72%, 47%)
CMYKcmyk(72.3%, 68.1%, 0%, 53.3%)
CIE-LABlab(20.21, 26.79, -46.91)
CIE-LCHlch(20.21, 54.02, 299.73°)
OKLaboklab(32.31% 0.0077 -0.1355)
OKLCHoklch(32.31% 0.136 273.2)
XYZxyz(4.6490, 3.0410, 17.7912)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212677 #777221
analogous
#215177 #212677 #472177
triadic
#212677 #772126 #267721
tetradic
#212677 #772151 #777221 #217747
square
#212677 #772151 #777221 #217747
split-complementary
#212677 #774721 #517721
monochromatic
#070818 #141747 #212677 #2E35A7 #474ECC

Accessibility & contrast

On white

13.06
#212677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#212677 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212677
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212677#FFFFFF#000000##FFFFFF
##2126771.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357A
Deuteranopia (green-blind)
#002D75
Tritanopia (blue-blind)
#003B4B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #212677;
/* rgb */ color: rgb(33, 38, 119);
/* oklch */ color: oklch(32.3% 0.136 273.2);
Tailwind
colors: {
  custom: {
    50: '#69609f',
    500: '#212677',
    950: '#000000',
  },
}
SCSS
$custom: #212677;
$custom-light: #69609f;
$custom-dark: #000000;
JSON
{
  "hex": "#212677",
  "rgb": {
    "r": 33,
    "g": 38,
    "b": 119
  },
  "hsl": {
    "h": 236.512,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32305,
    "c": 0.13571,
    "h": 273.2
  },
  "luminance": 0.03041
}

Semantic roles & 50–950 ramp

primary
#212677
secondary
#AAA54A
accent
#D748E0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07050F
muted
#7A797E

Preview Lab

Preview with #212677

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

Preview Lab → · Contrast checker → · Palette generator →

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