#212C93#212C93

#212C93 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.2% C 0.167 H 270.4°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#212C93
RGBrgb(33, 44, 147)
HSLhsl(234, 63%, 35%)
HSVhsv(234, 78%, 58%)
CMYKcmyk(77.6%, 70.1%, 0%, 42.4%)
CIE-LABlab(24.42, 33.27, -57.58)
CIE-LCHlch(24.42, 66.50, 300.02°)
OKLaboklab(36.2% 0.001 -0.1667)
OKLCHoklch(36.2% 0.167 270.4)
XYZxyz(6.7925, 4.2305, 28.0567)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212C93 #938821
analogous
#216593 #212C93 #4F2193
triadic
#212C93 #93212C #2C9321
tetradic
#212C93 #932165 #938821 #21934F
square
#212C93 #932165 #938821 #21934F
split-complementary
#212C93 #934F21 #659321
monochromatic
#0B0E2F #161D61 #212C93 #2C3BC5 #5562D9

Accessibility & contrast

On white

11.37
#212C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#212C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212C93
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212C93#FFFFFF#000000##FFFFFF
##212C931.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004096
Deuteranopia (green-blind)
#003591
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #212c93;
/* rgb */ color: rgb(33, 44, 147);
/* oklch */ color: oklch(36.2% 0.167 270.4);
Tailwind
colors: {
  custom: {
    50: '#7065b4',
    500: '#212c93',
    950: '#000000',
  },
}
SCSS
$custom: #212c93;
$custom-light: #7065b4;
$custom-dark: #000000;
JSON
{
  "hex": "#212c93",
  "rgb": {
    "r": 33,
    "g": 44,
    "b": 147
  },
  "hsl": {
    "h": 234.211,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.362,
    "c": 0.16666,
    "h": 270.4
  },
  "luminance": 0.04231
}

Semantic roles & 50–950 ramp

primary
#212C93
secondary
#BDB353
accent
#D641E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #212C93

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

Preview Lab → · Contrast checker → · Palette generator →

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