#211870#211870

#211870 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.143 H 277.5°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#211870
RGBrgb(33, 24, 112)
HSLhsl(246, 65%, 27%)
HSVhsv(246, 79%, 44%)
CMYKcmyk(70.5%, 78.6%, 0%, 56.1%)
CIE-LABlab(16.24, 33.18, -48.93)
CIE-LCHlch(16.24, 59.12, 304.14°)
OKLaboklab(29.23% 0.0185 -0.1414)
OKLCHoklch(29.23% 0.143 277.5)
XYZxyz(3.8775, 2.1461, 15.5360)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211870 #677018
analogous
#183B70 #211870 #4D1870
triadic
#211870 #702118 #187021
tetradic
#211870 #70183B #677018 #18704D
square
#211870 #70183B #677018 #18704D
split-complementary
#211870 #704D18 #3B7018
monochromatic
#070519 #120D3E #211870 #3023A2 #4030D3

Accessibility & contrast

On white

14.69
#211870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#211870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211870
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211870#FFFFFF#000000##FFFFFF
##2118701.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C73
Deuteranopia (green-blind)
#00256E
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #211870;
/* rgb */ color: rgb(33, 24, 112);
/* oklch */ color: oklch(29.2% 0.143 277.5);
Tailwind
colors: {
  custom: {
    50: '#69579a',
    500: '#211870',
    950: '#000000',
  },
}
SCSS
$custom: #211870;
$custom-light: #69579a;
$custom-dark: #000000;
JSON
{
  "hex": "#211870",
  "rgb": {
    "r": 33,
    "g": 24,
    "b": 112
  },
  "hsl": {
    "h": 246.136,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29234,
    "c": 0.14257,
    "h": 277.5
  },
  "luminance": 0.02146
}

Semantic roles & 50–950 ramp

primary
#211870
secondary
#9BA53E
accent
#E840D7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #211870

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

Preview Lab → · Contrast checker → · Palette generator →

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