#211671#211671

#211671 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.146 H 277.7°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#211671
RGBrgb(33, 22, 113)
HSLhsl(247, 67%, 26%)
HSVhsv(247, 81%, 44%)
CMYKcmyk(70.8%, 80.5%, 0%, 55.7%)
CIE-LABlab(15.95, 34.66, -50.05)
CIE-LCHlch(15.95, 60.88, 304.70°)
OKLaboklab(29.07% 0.0195 -0.1446)
OKLCHoklch(29.07% 0.146 277.7)
XYZxyz(3.8938, 2.0891, 15.8176)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211671 #667116
analogous
#163971 #211671 #4F1671
triadic
#211671 #712116 #167121
tetradic
#211671 #711639 #667116 #16714F
square
#211671 #711639 #667116 #16714F
split-complementary
#211671 #714F16 #397116
monochromatic
#07051A #120C3E #211671 #3020A4 #402CD6

Accessibility & contrast

On white

14.81
#211671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#211671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211671
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211671#FFFFFF#000000##FFFFFF
##2116711.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B74
Deuteranopia (green-blind)
#00246F
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #211671;
/* rgb */ color: rgb(33, 22, 113);
/* oklch */ color: oklch(29.1% 0.146 277.7);
Tailwind
colors: {
  custom: {
    50: '#6a559b',
    500: '#211671',
    950: '#000000',
  },
}
SCSS
$custom: #211671;
$custom-light: #6a559b;
$custom-dark: #000000;
JSON
{
  "hex": "#211671",
  "rgb": {
    "r": 33,
    "g": 22,
    "b": 113
  },
  "hsl": {
    "h": 247.253,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29065,
    "c": 0.14592,
    "h": 277.7
  },
  "luminance": 0.02089
}

Semantic roles & 50–950 ramp

primary
#211671
secondary
#9AA73C
accent
#EA3ED5
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #211671

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

Preview Lab → · Contrast checker → · Palette generator →

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