#211B74#211B74

#211B74 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.1% C 0.145 H 276.2°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#211B74
RGBrgb(33, 27, 116)
HSLhsl(244, 62%, 28%)
HSVhsv(244, 77%, 45%)
CMYKcmyk(71.6%, 76.7%, 0%, 54.5%)
CIE-LABlab(17.31, 32.78, -49.75)
CIE-LCHlch(17.31, 59.58, 303.38°)
OKLaboklab(30.13% 0.0157 -0.1438)
OKLCHoklch(30.13% 0.145 276.2)
XYZxyz(4.1705, 2.3678, 16.7569)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211B74 #6E741B
analogous
#1B4174 #211B74 #4D1B74
triadic
#211B74 #74211B #1B7421
tetradic
#211B74 #741B41 #6E741B #1B744D
square
#211B74 #741B41 #6E741B #1B744D
split-complementary
#211B74 #744D1B #41741B
monochromatic
#070619 #130F42 #211B74 #2F27A6 #4339D1

Accessibility & contrast

On white

14.25
#211B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#211B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211B74
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211B74#FFFFFF#000000##FFFFFF
##211B741.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E77
Deuteranopia (green-blind)
#002772
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #211b74;
/* rgb */ color: rgb(33, 27, 116);
/* oklch */ color: oklch(30.1% 0.145 276.2);
Tailwind
colors: {
  custom: {
    50: '#6a599d',
    500: '#211b74',
    950: '#000000',
  },
}
SCSS
$custom: #211b74;
$custom-light: #6a599d;
$custom-dark: #000000;
JSON
{
  "hex": "#211b74",
  "rgb": {
    "r": 33,
    "g": 27,
    "b": 116
  },
  "hsl": {
    "h": 244.045,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30126,
    "c": 0.14463,
    "h": 276.2
  },
  "luminance": 0.02368
}

Semantic roles & 50–950 ramp

primary
#211B74
secondary
#A2A942
accent
#E542DA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #211B74

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

Preview Lab → · Contrast checker → · Palette generator →

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