#212086#212086

#212086 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.163 H 273.3°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#212086
RGBrgb(33, 32, 134)
HSLhsl(241, 61%, 33%)
HSVhsv(241, 76%, 53%)
CMYKcmyk(75.4%, 76.1%, 0%, 47.5%)
CIE-LABlab(20.35, 36.07, -56.19)
CIE-LCHlch(20.35, 66.77, 302.70°)
OKLaboklab(32.87% 0.0093 -0.1626)
OKLCHoklch(32.87% 0.163 273.3)
XYZxyz(5.4453, 3.0770, 22.8566)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212086 #858620
analogous
#205286 #212086 #542086
triadic
#212086 #862120 #208621
tetradic
#212086 #862052 #858620 #208654
square
#212086 #862052 #858620 #208654
split-complementary
#212086 #865420 #528620
monochromatic
#090823 #151455 #212086 #2D2CB7 #4D4CD4

Accessibility & contrast

On white

13.00
#212086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#212086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212086
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212086#FFFFFF#000000##FFFFFF
##2120861.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#002C84
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #212086;
/* rgb */ color: rgb(33, 32, 134);
/* oklch */ color: oklch(32.9% 0.163 273.3);
Tailwind
colors: {
  custom: {
    50: '#6e5daa',
    500: '#212086',
    950: '#000000',
  },
}
SCSS
$custom: #212086;
$custom-light: #6e5daa;
$custom-dark: #000000;
JSON
{
  "hex": "#212086",
  "rgb": {
    "r": 33,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 240.588,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.32872,
    "c": 0.16284,
    "h": 273.3
  },
  "luminance": 0.03078
}

Semantic roles & 50–950 ramp

primary
#212086
secondary
#B6B74B
accent
#E543E3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #212086

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

Preview Lab → · Contrast checker → · Palette generator →

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