#212091#212091

#212091 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.1% C 0.177 H 272.3°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#212091
RGBrgb(33, 32, 145)
HSLhsl(241, 64%, 35%)
HSVhsv(241, 78%, 57%)
CMYKcmyk(77.2%, 77.9%, 0%, 43.1%)
CIE-LABlab(21.58, 39.86, -61.03)
CIE-LCHlch(21.58, 72.89, 303.15°)
OKLaboklab(34.11% 0.0071 -0.1766)
OKLCHoklch(34.11% 0.177 272.3)
XYZxyz(6.2528, 3.4000, 27.1093)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212091 #909120
analogous
#205891 #212091 #5A2091
triadic
#212091 #912120 #209121
tetradic
#212091 #912058 #909120 #20915A
square
#212091 #912058 #909120 #20915A
split-complementary
#212091 #915A20 #589120
monochromatic
#0A0A2D #16155F #212091 #2C2BC3 #5452D9

Accessibility & contrast

On white

12.50
#212091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#212091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212091
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212091#FFFFFF#000000##FFFFFF
##2120911.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003994
Deuteranopia (green-blind)
#002E8F
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #212091;
/* rgb */ color: rgb(33, 32, 145);
/* oklch */ color: oklch(34.1% 0.177 272.3);
Tailwind
colors: {
  custom: {
    50: '#715db2',
    500: '#212091',
    950: '#000000',
  },
}
SCSS
$custom: #212091;
$custom-light: #715db2;
$custom-dark: #000000;
JSON
{
  "hex": "#212091",
  "rgb": {
    "r": 33,
    "g": 32,
    "b": 145
  },
  "hsl": {
    "h": 240.531,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34106,
    "c": 0.17678,
    "h": 272.3
  },
  "luminance": 0.03401
}

Semantic roles & 50–950 ramp

primary
#212091
secondary
#BBBC51
accent
#E741E5
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #212091

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

Preview Lab → · Contrast checker → · Palette generator →

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