#211682#211682

#211682 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.1% C 0.167 H 275.1°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#211682
RGBrgb(33, 22, 130)
HSLhsl(246, 71%, 30%)
HSVhsv(246, 83%, 51%)
CMYKcmyk(74.6%, 83.1%, 0%, 49%)
CIE-LABlab(17.96, 40.26, -57.63)
CIE-LCHlch(17.96, 70.29, 304.94°)
OKLaboklab(31.06% 0.0147 -0.1666)
OKLCHoklch(31.06% 0.167 275.1)
XYZxyz(4.9420, 2.5084, 21.3385)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211682 #778216
analogous
#164182 #211682 #571682
triadic
#211682 #822116 #168221
tetradic
#211682 #821641 #778216 #168257
square
#211682 #821641 #778216 #168257
split-complementary
#211682 #825716 #418216
monochromatic
#07041A #140D4E #211682 #2E1FB6 #4735DD

Accessibility & contrast

On white

13.98
#211682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#211682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211682
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211682#FFFFFF#000000##FFFFFF
##2116821.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003185
Deuteranopia (green-blind)
#002780
Tritanopia (blue-blind)
#00384D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #211682;
/* rgb */ color: rgb(33, 22, 130);
/* oklch */ color: oklch(31.1% 0.167 275.1);
Tailwind
colors: {
  custom: {
    50: '#6e57a8',
    500: '#211682',
    950: '#000000',
  },
}
SCSS
$custom: #211682;
$custom-light: #6e57a8;
$custom-dark: #000000;
JSON
{
  "hex": "#211682",
  "rgb": {
    "r": 33,
    "g": 22,
    "b": 130
  },
  "hsl": {
    "h": 246.111,
    "s": 71.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31056,
    "c": 0.16727,
    "h": 275.1
  },
  "luminance": 0.02509
}

Semantic roles & 50–950 ramp

primary
#211682
secondary
#AAB73D
accent
#EE3ADB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #211682

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

Preview Lab → · Contrast checker → · Palette generator →

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