#211782#211782

#211782 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.2% C 0.166 H 274.9°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#211782
RGBrgb(33, 23, 130)
HSLhsl(246, 70%, 30%)
HSVhsv(246, 82%, 51%)
CMYKcmyk(74.6%, 82.3%, 0%, 49%)
CIE-LABlab(18.13, 39.75, -57.34)
CIE-LCHlch(18.13, 69.77, 304.73°)
OKLaboklab(31.18% 0.0143 -0.1658)
OKLCHoklch(31.18% 0.166 274.9)
XYZxyz(4.9615, 2.5473, 21.3450)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211782 #788217
analogous
#174382 #211782 #561782
triadic
#211782 #822117 #178221
tetradic
#211782 #821743 #788217 #178256
square
#211782 #821743 #788217 #178256
split-complementary
#211782 #825617 #438217
monochromatic
#07051A #140E4E #211782 #2E20B6 #4738DC

Accessibility & contrast

On white

13.91
#211782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#211782 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211782
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211782#FFFFFF#000000##FFFFFF
##2117821.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.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: #211782;
/* rgb */ color: rgb(33, 23, 130);
/* oklch */ color: oklch(31.2% 0.166 274.9);
Tailwind
colors: {
  custom: {
    50: '#6e57a8',
    500: '#211782',
    950: '#000000',
  },
}
SCSS
$custom: #211782;
$custom-light: #6e57a8;
$custom-dark: #000000;
JSON
{
  "hex": "#211782",
  "rgb": {
    "r": 33,
    "g": 23,
    "b": 130
  },
  "hsl": {
    "h": 245.607,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.31177,
    "c": 0.16642,
    "h": 274.9
  },
  "luminance": 0.02548
}

Semantic roles & 50–950 ramp

primary
#211782
secondary
#ABB63E
accent
#ED3BDC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #211782

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

Preview Lab → · Contrast checker → · Palette generator →

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