#212C63#212C63

#212C63 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.7% C 0.098 H 271.3°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#212C63
RGBrgb(33, 44, 99)
HSLhsl(230, 50%, 26%)
HSVhsv(230, 67%, 39%)
CMYKcmyk(66.7%, 55.6%, 0%, 61.2%)
CIE-LABlab(20.14, 14.86, -34.07)
CIE-LCHlch(20.14, 37.17, 293.57°)
OKLaboklab(31.72% 0.0022 -0.0977)
OKLCHoklch(31.72% 0.098 271.3)
XYZxyz(3.7793, 3.0252, 12.1867)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212C63 #635821
analogous
#214D63 #212C63 #372163
triadic
#212C63 #63212C #2C6321
tetradic
#212C63 #63214D #635821 #216337
square
#212C63 #63214D #635821 #216337
split-complementary
#212C63 #633721 #4D6321
monochromatic
#080A17 #121835 #212C63 #304091 #4055BF

Accessibility & contrast

On white

13.08
#212C63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#212C63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212C63
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212C63#FFFFFF#000000##FFFFFF
##212C631.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3465
Deuteranopia (green-blind)
#002E62
Tritanopia (blue-blind)
#003943
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #212c63;
/* rgb */ color: rgb(33, 44, 99);
/* oklch */ color: oklch(31.7% 0.098 271.3);
Tailwind
colors: {
  custom: {
    50: '#646490',
    500: '#212c63',
    950: '#000000',
  },
}
SCSS
$custom: #212c63;
$custom-light: #646490;
$custom-dark: #000000;
JSON
{
  "hex": "#212c63",
  "rgb": {
    "r": 33,
    "g": 44,
    "b": 99
  },
  "hsl": {
    "h": 230,
    "s": 50,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31721,
    "c": 0.0977,
    "h": 271.3
  },
  "luminance": 0.03026
}

Semantic roles & 50–950 ramp

primary
#212C63
secondary
#978A49
accent
#C24EDA
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #212C63

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

Preview Lab → · Contrast checker → · Palette generator →

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