#211A62#211A62

#211A62 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.121 H 279.5°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#211A62
RGBrgb(33, 26, 98)
HSLhsl(246, 58%, 24%)
HSVhsv(246, 73%, 38%)
CMYKcmyk(66.3%, 73.5%, 0%, 61.6%)
CIE-LABlab(15.19, 27.02, -41.47)
CIE-LCHlch(15.19, 49.50, 303.09°)
OKLaboklab(28.04% 0.02 -0.1196)
OKLCHoklch(28.04% 0.121 279.5)
XYZxyz(3.2005, 1.9437, 11.7594)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211A62 #5B621A
analogous
#1A3762 #211A62 #451A62
triadic
#211A62 #62211A #1A6221
tetradic
#211A62 #621A37 #5B621A #1A6245
square
#211A62 #621A37 #5B621A #1A6245
split-complementary
#211A62 #62451A #37621A
monochromatic
#080618 #110D32 #211A62 #312792 #4234C3

Accessibility & contrast

On white

15.12
#211A62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#211A62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211A62
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211A62#FFFFFF#000000##FFFFFF
##211A621.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002964
Deuteranopia (green-blind)
#002361
Tritanopia (blue-blind)
#002D3B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #211a62;
/* rgb */ color: rgb(33, 26, 98);
/* oklch */ color: oklch(28.0% 0.121 279.5);
Tailwind
colors: {
  custom: {
    50: '#66578f',
    500: '#211a62',
    950: '#000000',
  },
}
SCSS
$custom: #211a62;
$custom-light: #66578f;
$custom-dark: #000000;
JSON
{
  "hex": "#211a62",
  "rgb": {
    "r": 33,
    "g": 26,
    "b": 98
  },
  "hsl": {
    "h": 245.833,
    "s": 58.065,
    "l": 24.314
  },
  "oklch": {
    "l": 0.28039,
    "c": 0.12125,
    "h": 279.5
  },
  "luminance": 0.01944
}

Semantic roles & 50–950 ramp

primary
#211A62
secondary
#8F9840
accent
#E147D2
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #211A62

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

Preview Lab → · Contrast checker → · Palette generator →

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