#211670#211670

#211670 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.145 H 277.8°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#211670
RGBrgb(33, 22, 112)
HSLhsl(247, 67%, 26%)
HSVhsv(247, 80%, 44%)
CMYKcmyk(70.5%, 80.4%, 0%, 56.1%)
CIE-LABlab(15.83, 34.32, -49.59)
CIE-LCHlch(15.83, 60.31, 304.68°)
OKLaboklab(28.95% 0.0197 -0.1433)
OKLCHoklch(28.95% 0.145 277.8)
XYZxyz(3.8378, 2.0667, 15.5228)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211670 #657016
analogous
#163870 #211670 #4E1670
triadic
#211670 #702116 #167021
tetradic
#211670 #701638 #657016 #16704E
square
#211670 #701638 #657016 #16704E
split-complementary
#211670 #704E16 #387016
monochromatic
#08051A #120C3D #211670 #3020A3 #402BD5

Accessibility & contrast

On white

14.86
#211670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#211670 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211670
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211670#FFFFFF#000000##FFFFFF
##2116701.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B73
Deuteranopia (green-blind)
#00246E
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #211670;
/* rgb */ color: rgb(33, 22, 112);
/* oklch */ color: oklch(29.0% 0.145 277.8);
Tailwind
colors: {
  custom: {
    50: '#69559a',
    500: '#211670',
    950: '#000000',
  },
}
SCSS
$custom: #211670;
$custom-light: #69559a;
$custom-dark: #000000;
JSON
{
  "hex": "#211670",
  "rgb": {
    "r": 33,
    "g": 22,
    "b": 112
  },
  "hsl": {
    "h": 247.333,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28951,
    "c": 0.14463,
    "h": 277.8
  },
  "luminance": 0.02067
}

Semantic roles & 50–950 ramp

primary
#211670
secondary
#99A63C
accent
#EA3ED5
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #211670

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

Preview Lab → · Contrast checker → · Palette generator →

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