#211681#211681

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

Color values

HEX#211681
RGBrgb(33, 22, 129)
HSLhsl(246, 71%, 30%)
HSVhsv(246, 83%, 51%)
CMYKcmyk(74.4%, 82.9%, 0%, 49.4%)
CIE-LABlab(17.84, 39.93, -57.19)
CIE-LCHlch(17.84, 69.75, 304.92°)
OKLaboklab(30.94% 0.015 -0.1654)
OKLCHoklch(30.94% 0.166 275.2)
XYZxyz(4.8753, 2.4817, 20.9867)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211681 #768116
analogous
#164181 #211681 #571681
triadic
#211681 #812116 #168121
tetradic
#211681 #811641 #768116 #168157
square
#211681 #811641 #768116 #168157
split-complementary
#211681 #815716 #418116
monochromatic
#07041A #140D4D #211681 #2E1FB5 #4635DD

Accessibility & contrast

On white

14.03
#211681 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211681
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211681#FFFFFF#000000##FFFFFF
##2116811.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003084
Deuteranopia (green-blind)
#00277F
Tritanopia (blue-blind)
#00374C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #211681;
/* rgb */ color: rgb(33, 22, 129);
/* oklch */ color: oklch(30.9% 0.166 275.2);
Tailwind
colors: {
  custom: {
    50: '#6e57a7',
    500: '#211681',
    950: '#000000',
  },
}
SCSS
$custom: #211681;
$custom-light: #6e57a7;
$custom-dark: #000000;
JSON
{
  "hex": "#211681",
  "rgb": {
    "r": 33,
    "g": 22,
    "b": 129
  },
  "hsl": {
    "h": 246.168,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.30937,
    "c": 0.16604,
    "h": 275.2
  },
  "luminance": 0.02482
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #211681

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

Preview Lab → · Contrast checker → · Palette generator →

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