#212692#212692

#212692 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.1% C 0.172 H 271.4°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#212692
RGBrgb(33, 38, 146)
HSLhsl(237, 63%, 35%)
HSVhsv(237, 77%, 57%)
CMYKcmyk(77.4%, 74%, 0%, 42.7%)
CIE-LABlab(22.94, 36.68, -59.39)
CIE-LCHlch(22.94, 69.80, 301.70°)
OKLaboklab(35.11% 0.0042 -0.1719)
OKLCHoklch(35.11% 0.172 271.4)
XYZxyz(6.5069, 3.7842, 27.5760)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212692 #928D21
analogous
#215F92 #212692 #542192
triadic
#212692 #922126 #269221
tetradic
#212692 #92215F #928D21 #219254
square
#212692 #92215F #928D21 #219254
split-complementary
#212692 #925421 #5F9221
monochromatic
#0A0C2E #161960 #212692 #2C33C4 #555BD9

Accessibility & contrast

On white

11.95
#212692 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #212692
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212692#FFFFFF#000000##FFFFFF
##2126921.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C95
Deuteranopia (green-blind)
#003190
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #212692;
/* rgb */ color: rgb(33, 38, 146);
/* oklch */ color: oklch(35.1% 0.172 271.4);
Tailwind
colors: {
  custom: {
    50: '#7061b3',
    500: '#212692',
    950: '#000000',
  },
}
SCSS
$custom: #212692;
$custom-light: #7061b3;
$custom-dark: #000000;
JSON
{
  "hex": "#212692",
  "rgb": {
    "r": 33,
    "g": 38,
    "b": 146
  },
  "hsl": {
    "h": 237.345,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35108,
    "c": 0.17198,
    "h": 271.4
  },
  "luminance": 0.03785
}

Semantic roles & 50–950 ramp

primary
#212692
secondary
#BCB853
accent
#DF42E6
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #212692

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

Preview Lab → · Contrast checker → · Palette generator →

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