#212095#212095

#212095 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.6% C 0.182 H 272.0°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#212095
RGBrgb(33, 32, 149)
HSLhsl(241, 65%, 35%)
HSVhsv(241, 79%, 58%)
CMYKcmyk(77.9%, 78.5%, 0%, 41.6%)
CIE-LABlab(22.04, 41.22, -62.75)
CIE-LCHlch(22.04, 75.07, 303.30°)
OKLaboklab(34.56% 0.0063 -0.1816)
OKLCHoklch(34.56% 0.182 272)
XYZxyz(6.5667, 3.5256, 28.7624)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212095 #949520
analogous
#205995 #212095 #5B2095
triadic
#212095 #952120 #209521
tetradic
#212095 #952059 #949520 #20955B
square
#212095 #952059 #949520 #20955B
split-complementary
#212095 #955B20 #599520
monochromatic
#0B0A30 #161563 #212095 #2C2BC7 #5655DA

Accessibility & contrast

On white

12.32
#212095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#212095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212095
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212095#FFFFFF#000000##FFFFFF
##2120951.0012.321.7112.32
#FFFFFF12.321.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A98
Deuteranopia (green-blind)
#002F93
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #212095;
/* rgb */ color: rgb(33, 32, 149);
/* oklch */ color: oklch(34.6% 0.182 272.0);
Tailwind
colors: {
  custom: {
    50: '#725eb5',
    500: '#212095',
    950: '#000000',
  },
}
SCSS
$custom: #212095;
$custom-light: #725eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#212095",
  "rgb": {
    "r": 33,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 240.513,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34563,
    "c": 0.18174,
    "h": 272
  },
  "luminance": 0.03526
}

Semantic roles & 50–950 ramp

primary
#212095
secondary
#BDBE53
accent
#E840E6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #212095

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

Preview Lab → · Contrast checker → · Palette generator →

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