#211589#211589

#211589 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.177 H 274.3°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#211589
RGBrgb(33, 21, 137)
HSLhsl(246, 73%, 31%)
HSVhsv(246, 85%, 54%)
CMYKcmyk(75.9%, 84.7%, 0%, 46.3%)
CIE-LABlab(18.65, 42.97, -60.89)
CIE-LCHlch(18.65, 74.52, 305.21°)
OKLaboklab(31.79% 0.0131 -0.1761)
OKLCHoklch(31.79% 0.177 274.3)
XYZxyz(5.4092, 2.6653, 23.8914)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211589 #7D8915
analogous
#154389 #211589 #5B1589
triadic
#211589 #892115 #158921
tetradic
#211589 #891543 #7D8915 #15895B
square
#211589 #891543 #7D8915 #15895B
split-complementary
#211589 #895B15 #438915
monochromatic
#07051F #140D54 #211589 #2E1DBE #4938E0

Accessibility & contrast

On white

13.70
#211589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#211589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211589
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211589#FFFFFF#000000##FFFFFF
##2115891.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00328C
Deuteranopia (green-blind)
#002887
Tritanopia (blue-blind)
#003A51
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #211589;
/* rgb */ color: rgb(33, 21, 137);
/* oklch */ color: oklch(31.8% 0.177 274.3);
Tailwind
colors: {
  custom: {
    50: '#7057ad',
    500: '#211589',
    950: '#000000',
  },
}
SCSS
$custom: #211589;
$custom-light: #7057ad;
$custom-dark: #000000;
JSON
{
  "hex": "#211589",
  "rgb": {
    "r": 33,
    "g": 21,
    "b": 137
  },
  "hsl": {
    "h": 246.207,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31785,
    "c": 0.17656,
    "h": 274.3
  },
  "luminance": 0.02666
}

Semantic roles & 50–950 ramp

primary
#211589
secondary
#B0BD3D
accent
#F038DD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #211589

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

Preview Lab → · Contrast checker → · Palette generator →

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