#211A74#211A74

#211A74 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.146 H 276.4°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#211A74
RGBrgb(33, 26, 116)
HSLhsl(245, 63%, 28%)
HSVhsv(245, 78%, 45%)
CMYKcmyk(71.6%, 77.6%, 0%, 54.5%)
CIE-LABlab(17.10, 33.38, -50.10)
CIE-LCHlch(17.10, 60.20, 303.67°)
OKLaboklab(29.98% 0.0164 -0.1448)
OKLCHoklch(29.98% 0.146 276.4)
XYZxyz(4.1479, 2.3227, 16.7493)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211A74 #6D741A
analogous
#1A4074 #211A74 #4E1A74
triadic
#211A74 #74211A #1A7421
tetradic
#211A74 #741A40 #6D741A #1A744E
square
#211A74 #741A40 #6D741A #1A744E
split-complementary
#211A74 #744E1A #40741A
monochromatic
#070619 #130F42 #211A74 #2F25A6 #4236D2

Accessibility & contrast

On white

14.34
#211A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#211A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211A74
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211A74#FFFFFF#000000##FFFFFF
##211A741.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E77
Deuteranopia (green-blind)
#002672
Tritanopia (blue-blind)
#003445
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #211a74;
/* rgb */ color: rgb(33, 26, 116);
/* oklch */ color: oklch(30.0% 0.146 276.4);
Tailwind
colors: {
  custom: {
    50: '#6a589d',
    500: '#211a74',
    950: '#000000',
  },
}
SCSS
$custom: #211a74;
$custom-light: #6a589d;
$custom-dark: #000000;
JSON
{
  "hex": "#211a74",
  "rgb": {
    "r": 33,
    "g": 26,
    "b": 116
  },
  "hsl": {
    "h": 244.667,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.29975,
    "c": 0.1457,
    "h": 276.4
  },
  "luminance": 0.02323
}

Semantic roles & 50–950 ramp

primary
#211A74
secondary
#A1A941
accent
#E641DA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #211A74

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

Preview Lab → · Contrast checker → · Palette generator →

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