#211789#211789

#211789 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.0% C 0.175 H 274.1°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#211789
RGBrgb(33, 23, 137)
HSLhsl(245, 71%, 31%)
HSVhsv(245, 83%, 54%)
CMYKcmyk(75.9%, 83.2%, 0%, 46.3%)
CIE-LABlab(18.98, 42.01, -60.34)
CIE-LCHlch(18.98, 73.53, 304.84°)
OKLaboklab(32.01% 0.0124 -0.1745)
OKLCHoklch(32.01% 0.175 274.1)
XYZxyz(5.4475, 2.7417, 23.9042)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211789 #7F8917
analogous
#174689 #211789 #5A1789
triadic
#211789 #892117 #178921
tetradic
#211789 #891746 #7F8917 #17895A
square
#211789 #891746 #7F8917 #17895A
split-complementary
#211789 #895A17 #468917
monochromatic
#080520 #140E55 #211789 #2E20BD #4A3CDE

Accessibility & contrast

On white

13.56
#211789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#211789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211789
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211789#FFFFFF#000000##FFFFFF
##2117891.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338C
Deuteranopia (green-blind)
#002987
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #211789;
/* rgb */ color: rgb(33, 23, 137);
/* oklch */ color: oklch(32.0% 0.175 274.1);
Tailwind
colors: {
  custom: {
    50: '#6f58ad',
    500: '#211789',
    950: '#000000',
  },
}
SCSS
$custom: #211789;
$custom-light: #6f58ad;
$custom-dark: #000000;
JSON
{
  "hex": "#211789",
  "rgb": {
    "r": 33,
    "g": 23,
    "b": 137
  },
  "hsl": {
    "h": 245.263,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32012,
    "c": 0.17497,
    "h": 274.1
  },
  "luminance": 0.02742
}

Semantic roles & 50–950 ramp

primary
#211789
secondary
#B2BD3F
accent
#EE3ADE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #211789

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

Preview Lab → · Contrast checker → · Palette generator →

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