#211A7F#211A7F

#211A7F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.160 H 274.9°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#211A7F
RGBrgb(33, 26, 127)
HSLhsl(244, 66%, 30%)
HSVhsv(244, 80%, 50%)
CMYKcmyk(74%, 79.5%, 0%, 50.2%)
CIE-LABlab(18.34, 37.14, -55.09)
CIE-LCHlch(18.34, 66.44, 303.99°)
OKLaboklab(31.22% 0.0138 -0.1593)
OKLCHoklch(31.22% 0.16 274.9)
XYZxyz(4.8261, 2.5940, 20.3209)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211A7F #787F1A
analogous
#1A467F #211A7F #531A7F
triadic
#211A7F #7F211A #1A7F21
tetradic
#211A7F #7F1A46 #787F1A #1A7F53
square
#211A7F #7F1A46 #787F1A #1A7F53
split-complementary
#211A7F #7F531A #467F1A
monochromatic
#070519 #14104C #211A7F #2E24B2 #473CD7

Accessibility & contrast

On white

13.83
#211A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#211A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211A7F
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211A7F#FFFFFF#000000##FFFFFF
##211A7F1.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003182
Deuteranopia (green-blind)
#00287D
Tritanopia (blue-blind)
#00384C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #211a7f;
/* rgb */ color: rgb(33, 26, 127);
/* oklch */ color: oklch(31.2% 0.160 274.9);
Tailwind
colors: {
  custom: {
    50: '#6d59a5',
    500: '#211a7f',
    950: '#000000',
  },
}
SCSS
$custom: #211a7f;
$custom-light: #6d59a5;
$custom-dark: #000000;
JSON
{
  "hex": "#211a7f",
  "rgb": {
    "r": 33,
    "g": 26,
    "b": 127
  },
  "hsl": {
    "h": 244.158,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.31219,
    "c": 0.1599,
    "h": 274.9
  },
  "luminance": 0.02594
}

Semantic roles & 50–950 ramp

primary
#211A7F
secondary
#ABB342
accent
#E93FDD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #211A7F

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

Preview Lab → · Contrast checker → · Palette generator →

#211A7F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva