#211B8F#211B8F

#211B8F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.179 H 273.0°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#211B8F
RGBrgb(33, 27, 143)
HSLhsl(243, 68%, 33%)
HSVhsv(243, 81%, 56%)
CMYKcmyk(76.9%, 81.1%, 0%, 43.9%)
CIE-LABlab(20.40, 41.92, -61.74)
CIE-LCHlch(20.40, 74.62, 304.18°)
OKLaboklab(33.21% 0.0095 -0.1786)
OKLCHoklch(33.21% 0.179 273)
XYZxyz(5.9754, 3.0897, 26.2627)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211B8F #898F1B
analogous
#1B4F8F #211B8F #5B1B8F
triadic
#211B8F #8F211B #1B8F21
tetradic
#211B8F #8F1B4F #898F1B #1B8F5B
square
#211B8F #8F1B4F #898F1B #1B8F5B
split-complementary
#211B8F #8F5B1B #4F8F1B
monochromatic
#090828 #15115C #211B8F #2D25C2 #5048DC

Accessibility & contrast

On white

12.98
#211B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#211B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211B8F
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211B8F#FFFFFF#000000##FFFFFF
##211B8F1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003792
Deuteranopia (green-blind)
#002B8D
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #211b8f;
/* rgb */ color: rgb(33, 27, 143);
/* oklch */ color: oklch(33.2% 0.179 273.0);
Tailwind
colors: {
  custom: {
    50: '#715ab1',
    500: '#211b8f',
    950: '#000000',
  },
}
SCSS
$custom: #211b8f;
$custom-light: #715ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#211b8f",
  "rgb": {
    "r": 33,
    "g": 27,
    "b": 143
  },
  "hsl": {
    "h": 243.103,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33211,
    "c": 0.17889,
    "h": 273
  },
  "luminance": 0.0309
}

Semantic roles & 50–950 ramp

primary
#211B8F
secondary
#B8BE48
accent
#EB3DE2
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #211B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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