#211A7C#211A7C

#211A7C is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.9% C 0.156 H 275.3°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#211A7C
RGBrgb(33, 26, 124)
HSLhsl(244, 65%, 29%)
HSVhsv(244, 79%, 49%)
CMYKcmyk(73.4%, 79%, 0%, 51.4%)
CIE-LABlab(17.99, 36.12, -53.75)
CIE-LCHlch(17.99, 64.76, 303.90°)
OKLaboklab(30.88% 0.0145 -0.1554)
OKLCHoklch(30.88% 0.156 275.3)
XYZxyz(4.6335, 2.5169, 19.3065)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211A7C #757C1A
analogous
#1A447C #211A7C #521A7C
triadic
#211A7C #7C211A #1A7C21
tetradic
#211A7C #7C1A44 #757C1A #1A7C52
square
#211A7C #7C1A44 #757C1A #1A7C52
split-complementary
#211A7C #7C521A #447C1A
monochromatic
#070519 #140F49 #211A7C #2E25AF #463BD6

Accessibility & contrast

On white

13.97
#211A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#211A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211A7C
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211A7C#FFFFFF#000000##FFFFFF
##211A7C1.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307F
Deuteranopia (green-blind)
#00287A
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #211a7c;
/* rgb */ color: rgb(33, 26, 124);
/* oklch */ color: oklch(30.9% 0.156 275.3);
Tailwind
colors: {
  custom: {
    50: '#6c59a3',
    500: '#211a7c',
    950: '#000000',
  },
}
SCSS
$custom: #211a7c;
$custom-light: #6c59a3;
$custom-dark: #000000;
JSON
{
  "hex": "#211a7c",
  "rgb": {
    "r": 33,
    "g": 26,
    "b": 124
  },
  "hsl": {
    "h": 244.286,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.30876,
    "c": 0.15608,
    "h": 275.3
  },
  "luminance": 0.02517
}

Semantic roles & 50–950 ramp

primary
#211A7C
secondary
#A8B042
accent
#E840DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #211A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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