#212993#212993

#212993 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.7% C 0.170 H 270.9°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#212993
RGBrgb(33, 41, 147)
HSLhsl(236, 63%, 35%)
HSVhsv(236, 78%, 58%)
CMYKcmyk(77.6%, 72.1%, 0%, 42.4%)
CIE-LABlab(23.72, 35.18, -58.73)
CIE-LCHlch(23.72, 68.46, 300.92°)
OKLaboklab(35.7% 0.0026 -0.17)
OKLCHoklch(35.7% 0.17 270.9)
XYZxyz(6.6848, 4.0151, 28.0208)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212993 #938B21
analogous
#216293 #212993 #522193
triadic
#212993 #932129 #299321
tetradic
#212993 #932162 #938B21 #219352
square
#212993 #932162 #938B21 #219352
split-complementary
#212993 #935221 #629321
monochromatic
#0B0D2F #161B61 #212993 #2C37C5 #555FD9

Accessibility & contrast

On white

11.65
#212993 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#212993 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212993
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212993#FFFFFF#000000##FFFFFF
##2129931.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E96
Deuteranopia (green-blind)
#003391
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #212993;
/* rgb */ color: rgb(33, 41, 147);
/* oklch */ color: oklch(35.7% 0.170 270.9);
Tailwind
colors: {
  custom: {
    50: '#7063b4',
    500: '#212993',
    950: '#000000',
  },
}
SCSS
$custom: #212993;
$custom-light: #7063b4;
$custom-dark: #000000;
JSON
{
  "hex": "#212993",
  "rgb": {
    "r": 33,
    "g": 41,
    "b": 147
  },
  "hsl": {
    "h": 235.789,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35697,
    "c": 0.17003,
    "h": 270.9
  },
  "luminance": 0.04016
}

Semantic roles & 50–950 ramp

primary
#212993
secondary
#BDB553
accent
#DB41E6
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #212993

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

Preview Lab → · Contrast checker → · Palette generator →

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