#211E5F#211E5F

#211E5F is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.5% C 0.112 H 278.6°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#211E5F
RGBrgb(33, 30, 95)
HSLhsl(243, 52%, 25%)
HSVhsv(243, 68%, 37%)
CMYKcmyk(65.3%, 68.4%, 0%, 62.7%)
CIE-LABlab(15.89, 23.25, -38.33)
CIE-LCHlch(15.89, 44.83, 301.24°)
OKLaboklab(28.46% 0.0168 -0.1104)
OKLCHoklch(28.46% 0.112 278.6)
XYZxyz(3.1564, 2.0779, 11.0590)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211E5F #5C5F1E
analogous
#1E3C5F #211E5F #421E5F
triadic
#211E5F #5F211E #1E5F21
tetradic
#211E5F #5F1E3C #5C5F1E #1E5F42
square
#211E5F #5F1E3C #5C5F1E #1E5F42
split-complementary
#211E5F #5F421E #3C5F1E
monochromatic
#080717 #110F30 #211E5F #312D8E #413BBC

Accessibility & contrast

On white

14.83
#211E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#211E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211E5F
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211E5F#FFFFFF#000000##FFFFFF
##211E5F1.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A61
Deuteranopia (green-blind)
#00255E
Tritanopia (blue-blind)
#002E3B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #211e5f;
/* rgb */ color: rgb(33, 30, 95);
/* oklch */ color: oklch(28.5% 0.112 278.6);
Tailwind
colors: {
  custom: {
    50: '#645a8d',
    500: '#211e5f',
    950: '#000000',
  },
}
SCSS
$custom: #211e5f;
$custom-light: #645a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#211e5f",
  "rgb": {
    "r": 33,
    "g": 30,
    "b": 95
  },
  "hsl": {
    "h": 242.769,
    "s": 52,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28457,
    "c": 0.11163,
    "h": 278.6
  },
  "luminance": 0.02078
}

Semantic roles & 50–950 ramp

primary
#211E5F
secondary
#909445
accent
#DB4CD5
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #211E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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