#211B62#211B62

#211B62 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.2% C 0.120 H 279.2°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#211B62
RGBrgb(33, 27, 98)
HSLhsl(245, 57%, 25%)
HSVhsv(245, 72%, 38%)
CMYKcmyk(66.3%, 72.4%, 0%, 61.6%)
CIE-LABlab(15.43, 26.37, -41.08)
CIE-LCHlch(15.43, 48.81, 302.70°)
OKLaboklab(28.21% 0.0192 -0.1184)
OKLCHoklch(28.21% 0.12 279.2)
XYZxyz(3.2230, 1.9888, 11.7669)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211B62 #5C621B
analogous
#1B3962 #211B62 #451B62
triadic
#211B62 #62211B #1B6221
tetradic
#211B62 #621B39 #5C621B #1B6245
square
#211B62 #621B39 #5C621B #1B6245
split-complementary
#211B62 #62451B #39621B
monochromatic
#080718 #110E32 #211B62 #312892 #4135C2

Accessibility & contrast

On white

15.02
#211B62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211B62
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211B62#FFFFFF#000000##FFFFFF
##211B621.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #211b62;
/* rgb */ color: rgb(33, 27, 98);
/* oklch */ color: oklch(28.2% 0.120 279.2);
Tailwind
colors: {
  custom: {
    50: '#65588f',
    500: '#211b62',
    950: '#000000',
  },
}
SCSS
$custom: #211b62;
$custom-light: #65588f;
$custom-dark: #000000;
JSON
{
  "hex": "#211b62",
  "rgb": {
    "r": 33,
    "g": 27,
    "b": 98
  },
  "hsl": {
    "h": 245.07,
    "s": 56.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28211,
    "c": 0.11997,
    "h": 279.2
  },
  "luminance": 0.01989
}

Semantic roles & 50–950 ramp

primary
#211B62
secondary
#909841
accent
#E048D3
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #211B62

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

Preview Lab → · Contrast checker → · Palette generator →

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