#212094#212094

#212094 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.4% C 0.181 H 272.1°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#212094
RGBrgb(33, 32, 148)
HSLhsl(241, 64%, 35%)
HSVhsv(241, 78%, 58%)
CMYKcmyk(77.7%, 78.4%, 0%, 42%)
CIE-LABlab(21.92, 40.88, -62.32)
CIE-LCHlch(21.92, 74.53, 303.26°)
OKLaboklab(34.45% 0.0065 -0.1804)
OKLCHoklch(34.45% 0.181 272.1)
XYZxyz(6.4872, 3.4938, 28.3437)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212094 #939420
analogous
#205994 #212094 #5B2094
triadic
#212094 #942120 #209421
tetradic
#212094 #942059 #939420 #20945B
square
#212094 #942059 #939420 #20945B
split-complementary
#212094 #945B20 #599420
monochromatic
#0B0A2F #161562 #212094 #2C2BC6 #5554DA

Accessibility & contrast

On white

12.36
#212094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#212094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212094
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212094#FFFFFF#000000##FFFFFF
##2120941.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A97
Deuteranopia (green-blind)
#002F92
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #212094;
/* rgb */ color: rgb(33, 32, 148);
/* oklch */ color: oklch(34.4% 0.181 272.1);
Tailwind
colors: {
  custom: {
    50: '#715eb5',
    500: '#212094',
    950: '#000000',
  },
}
SCSS
$custom: #212094;
$custom-light: #715eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#212094",
  "rgb": {
    "r": 33,
    "g": 32,
    "b": 148
  },
  "hsl": {
    "h": 240.517,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34448,
    "c": 0.18051,
    "h": 272.1
  },
  "luminance": 0.03494
}

Semantic roles & 50–950 ramp

primary
#212094
secondary
#BDBE52
accent
#E740E6
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #212094

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

Preview Lab → · Contrast checker → · Palette generator →

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