#212093#212093

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

Color values

HEX#212093
RGBrgb(33, 32, 147)
HSLhsl(241, 64%, 35%)
HSVhsv(241, 78%, 58%)
CMYKcmyk(77.6%, 78.2%, 0%, 42.4%)
CIE-LABlab(21.81, 40.54, -61.89)
CIE-LCHlch(21.81, 73.99, 303.23°)
OKLaboklab(34.33% 0.0067 -0.1791)
OKLCHoklch(34.33% 0.179 272.1)
XYZxyz(6.4084, 3.4623, 27.9286)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212093 #929320
analogous
#205893 #212093 #5B2093
triadic
#212093 #932120 #209321
tetradic
#212093 #932058 #929320 #20935B
square
#212093 #932058 #929320 #20935B
split-complementary
#212093 #935B20 #589320
monochromatic
#0A0A2E #161561 #212093 #2C2BC5 #5554DA

Accessibility & contrast

On white

12.41
#212093 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#212093 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212093
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212093#FFFFFF#000000##FFFFFF
##2120931.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A96
Deuteranopia (green-blind)
#002E91
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #212093;
/* rgb */ color: rgb(33, 32, 147);
/* oklch */ color: oklch(34.3% 0.179 272.1);
Tailwind
colors: {
  custom: {
    50: '#715eb4',
    500: '#212093',
    950: '#000000',
  },
}
SCSS
$custom: #212093;
$custom-light: #715eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#212093",
  "rgb": {
    "r": 33,
    "g": 32,
    "b": 147
  },
  "hsl": {
    "h": 240.522,
    "s": 64.246,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34334,
    "c": 0.17926,
    "h": 272.1
  },
  "luminance": 0.03463
}

Semantic roles & 50–950 ramp

primary
#212093
secondary
#BCBD52
accent
#E741E6
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #212093

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

Preview Lab → · Contrast checker → · Palette generator →

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