#212090#212090

#212090 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.0% C 0.176 H 272.4°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#212090
RGBrgb(33, 32, 144)
HSLhsl(241, 64%, 35%)
HSVhsv(241, 78%, 56%)
CMYKcmyk(77.1%, 77.8%, 0%, 43.5%)
CIE-LABlab(21.47, 39.52, -60.59)
CIE-LCHlch(21.47, 72.35, 303.11°)
OKLaboklab(33.99% 0.0073 -0.1754)
OKLCHoklch(33.99% 0.176 272.4)
XYZxyz(6.1761, 3.3693, 26.7050)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212090 #8F9020
analogous
#205790 #212090 #592090
triadic
#212090 #902120 #209021
tetradic
#212090 #902057 #8F9020 #209059
square
#212090 #902057 #8F9020 #209059
split-complementary
#212090 #905920 #579020
monochromatic
#0A0A2C #16155E #212090 #2C2BC2 #5352D9

Accessibility & contrast

On white

12.54
#212090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#212090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212090
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212090#FFFFFF#000000##FFFFFF
##2120901.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003993
Deuteranopia (green-blind)
#002E8E
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #212090;
/* rgb */ color: rgb(33, 32, 144);
/* oklch */ color: oklch(34.0% 0.176 272.4);
Tailwind
colors: {
  custom: {
    50: '#705db2',
    500: '#212090',
    950: '#000000',
  },
}
SCSS
$custom: #212090;
$custom-light: #705db2;
$custom-dark: #000000;
JSON
{
  "hex": "#212090",
  "rgb": {
    "r": 33,
    "g": 32,
    "b": 144
  },
  "hsl": {
    "h": 240.536,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.33993,
    "c": 0.17553,
    "h": 272.4
  },
  "luminance": 0.0337
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #212090

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

Preview Lab → · Contrast checker → · Palette generator →

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