#212063#212063

#212063 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.2% C 0.115 H 277.3°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#212063
RGBrgb(33, 32, 99)
HSLhsl(241, 51%, 26%)
HSVhsv(241, 68%, 39%)
CMYKcmyk(66.7%, 67.7%, 0%, 61.2%)
CIE-LABlab(16.78, 23.37, -39.53)
CIE-LCHlch(16.78, 45.92, 300.59°)
OKLaboklab(29.22% 0.0145 -0.1139)
OKLCHoklch(29.22% 0.115 277.3)
XYZxyz(3.3951, 2.2569, 12.0587)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212063 #626320
analogous
#204063 #212063 #422063
triadic
#212063 #632120 #206321
tetradic
#212063 #632040 #626320 #206342
square
#212063 #632040 #626320 #206342
split-complementary
#212063 #634220 #406320
monochromatic
#080717 #121135 #212063 #302F91 #403EBF

Accessibility & contrast

On white

14.47
#212063 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#212063 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212063
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212063#FFFFFF#000000##FFFFFF
##2120631.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C65
Deuteranopia (green-blind)
#002762
Tritanopia (blue-blind)
#00313E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #212063;
/* rgb */ color: rgb(33, 32, 99);
/* oklch */ color: oklch(29.2% 0.115 277.3);
Tailwind
colors: {
  custom: {
    50: '#655b90',
    500: '#212063',
    950: '#000000',
  },
}
SCSS
$custom: #212063;
$custom-light: #655b90;
$custom-dark: #000000;
JSON
{
  "hex": "#212063",
  "rgb": {
    "r": 33,
    "g": 32,
    "b": 99
  },
  "hsl": {
    "h": 240.896,
    "s": 51.145,
    "l": 25.686
  },
  "oklch": {
    "l": 0.29223,
    "c": 0.11478,
    "h": 277.3
  },
  "luminance": 0.02257
}

Semantic roles & 50–950 ramp

primary
#212063
secondary
#969748
accent
#DB4DD9
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040D
muted
#7A797D

Preview Lab

Preview with #212063

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

Preview Lab → · Contrast checker → · Palette generator →

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