#212693#212693

#212693 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.173 H 271.3°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#212693
RGBrgb(33, 38, 147)
HSLhsl(237, 63%, 35%)
HSVhsv(237, 78%, 58%)
CMYKcmyk(77.6%, 74.1%, 0%, 42.4%)
CIE-LABlab(23.05, 37.03, -59.83)
CIE-LCHlch(23.05, 70.37, 301.75°)
OKLaboklab(35.22% 0.0041 -0.1732)
OKLCHoklch(35.22% 0.173 271.3)
XYZxyz(6.5850, 3.8154, 27.9875)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212693 #938E21
analogous
#215F93 #212693 #552193
triadic
#212693 #932126 #269321
tetradic
#212693 #93215F #938E21 #219355
square
#212693 #93215F #938E21 #219355
split-complementary
#212693 #935521 #5F9321
monochromatic
#0B0C2F #161961 #212693 #2C33C5 #555BD9

Accessibility & contrast

On white

11.91
#212693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#212693 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212693
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212693#FFFFFF#000000##FFFFFF
##2126931.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D96
Deuteranopia (green-blind)
#003191
Tritanopia (blue-blind)
#00455A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #212693;
/* rgb */ color: rgb(33, 38, 147);
/* oklch */ color: oklch(35.2% 0.173 271.3);
Tailwind
colors: {
  custom: {
    50: '#7161b4',
    500: '#212693',
    950: '#000000',
  },
}
SCSS
$custom: #212693;
$custom-light: #7161b4;
$custom-dark: #000000;
JSON
{
  "hex": "#212693",
  "rgb": {
    "r": 33,
    "g": 38,
    "b": 147
  },
  "hsl": {
    "h": 237.368,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35217,
    "c": 0.17327,
    "h": 271.3
  },
  "luminance": 0.03816
}

Semantic roles & 50–950 ramp

primary
#212693
secondary
#BDB853
accent
#DF41E6
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #212693

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

Preview Lab → · Contrast checker → · Palette generator →

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