#211B63#211B63

#211B63 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.3% C 0.121 H 279.0°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#211B63
RGBrgb(33, 27, 99)
HSLhsl(245, 57%, 25%)
HSVhsv(245, 73%, 39%)
CMYKcmyk(66.7%, 72.7%, 0%, 61.2%)
CIE-LABlab(15.53, 26.73, -41.58)
CIE-LCHlch(15.53, 49.43, 302.74°)
OKLaboklab(28.31% 0.019 -0.1199)
OKLCHoklch(28.31% 0.121 279)
XYZxyz(3.2705, 2.0078, 12.0172)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211B63 #5D631B
analogous
#1B3963 #211B63 #451B63
triadic
#211B63 #63211B #1B6321
tetradic
#211B63 #631B39 #5D631B #1B6345
square
#211B63 #631B39 #5D631B #1B6345
split-complementary
#211B63 #63451B #39631B
monochromatic
#080718 #110E33 #211B63 #312893 #4135C3

Accessibility & contrast

On white

14.98
#211B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#211B63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211B63
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211B63#FFFFFF#000000##FFFFFF
##211B631.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A65
Deuteranopia (green-blind)
#002462
Tritanopia (blue-blind)
#002E3C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #211b63;
/* rgb */ color: rgb(33, 27, 99);
/* oklch */ color: oklch(28.3% 0.121 279.0);
Tailwind
colors: {
  custom: {
    50: '#665890',
    500: '#211b63',
    950: '#000000',
  },
}
SCSS
$custom: #211b63;
$custom-light: #665890;
$custom-dark: #000000;
JSON
{
  "hex": "#211b63",
  "rgb": {
    "r": 33,
    "g": 27,
    "b": 99
  },
  "hsl": {
    "h": 245,
    "s": 57.143,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28313,
    "c": 0.12139,
    "h": 279
  },
  "luminance": 0.02008
}

Semantic roles & 50–950 ramp

primary
#211B63
secondary
#919841
accent
#E047D4
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030D
muted
#7A787D

Preview Lab

Preview with #211B63

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

Preview Lab → · Contrast checker → · Palette generator →

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