#212C86#212C86

#212C86 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.149 H 270.8°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#212C86
RGBrgb(33, 44, 134)
HSLhsl(233, 60%, 33%)
HSVhsv(233, 75%, 53%)
CMYKcmyk(75.4%, 67.2%, 0%, 47.5%)
CIE-LABlab(23.15, 28.42, -51.58)
CIE-LCHlch(23.15, 58.89, 298.85°)
OKLaboklab(34.89% 0.0022 -0.1491)
OKLCHoklch(34.89% 0.149 270.8)
XYZxyz(5.8295, 3.8453, 22.9846)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212C86 #867B21
analogous
#215F86 #212C86 #482186
triadic
#212C86 #86212C #2C8621
tetradic
#212C86 #86215F #867B21 #218648
square
#212C86 #86215F #867B21 #218648
split-complementary
#212C86 #864821 #5F8621
monochromatic
#090C24 #151C55 #212C86 #2D3CB7 #4E5DD3

Accessibility & contrast

On white

11.87
#212C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#212C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212C86
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212C86#FFFFFF#000000##FFFFFF
##212C861.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003384
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #212c86;
/* rgb */ color: rgb(33, 44, 134);
/* oklch */ color: oklch(34.9% 0.149 270.8);
Tailwind
colors: {
  custom: {
    50: '#6d65aa',
    500: '#212c86',
    950: '#000000',
  },
}
SCSS
$custom: #212c86;
$custom-light: #6d65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#212c86",
  "rgb": {
    "r": 33,
    "g": 44,
    "b": 134
  },
  "hsl": {
    "h": 233.465,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34894,
    "c": 0.14914,
    "h": 270.8
  },
  "luminance": 0.03846
}

Semantic roles & 50–950 ramp

primary
#212C86
secondary
#B7AB4C
accent
#D244E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #212C86

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

Preview Lab → · Contrast checker → · Palette generator →

#212C86 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva