#211985#211985

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

Color values

HEX#211985
RGBrgb(33, 25, 133)
HSLhsl(244, 68%, 31%)
HSVhsv(244, 81%, 52%)
CMYKcmyk(75.2%, 81.2%, 0%, 47.8%)
CIE-LABlab(18.85, 39.69, -58.04)
CIE-LCHlch(18.85, 70.31, 304.36°)
OKLaboklab(31.78% 0.0127 -0.1679)
OKLCHoklch(31.78% 0.168 274.3)
XYZxyz(5.2071, 2.7115, 22.4347)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211985 #7D8519
analogous
#194785 #211985 #571985
triadic
#211985 #852119 #198521
tetradic
#211985 #851947 #7D8519 #198557
square
#211985 #851947 #7D8519 #198557
split-complementary
#211985 #855719 #478519
monochromatic
#07061E #140F51 #211985 #2E23B9 #493EDB

Accessibility & contrast

On white

13.62
#211985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#211985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211985
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211985#FFFFFF#000000##FFFFFF
##2119851.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003388
Deuteranopia (green-blind)
#002983
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #211985;
/* rgb */ color: rgb(33, 25, 133);
/* oklch */ color: oklch(31.8% 0.168 274.3);
Tailwind
colors: {
  custom: {
    50: '#6e59aa',
    500: '#211985',
    950: '#000000',
  },
}
SCSS
$custom: #211985;
$custom-light: #6e59aa;
$custom-dark: #000000;
JSON
{
  "hex": "#211985",
  "rgb": {
    "r": 33,
    "g": 25,
    "b": 133
  },
  "hsl": {
    "h": 244.444,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31782,
    "c": 0.16836,
    "h": 274.3
  },
  "luminance": 0.02712
}

Semantic roles & 50–950 ramp

primary
#211985
secondary
#B0B941
accent
#EB3DDE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #211985

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

Preview Lab → · Contrast checker → · Palette generator →

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