#211F6F#211F6F

#211F6F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.2% C 0.133 H 276.0°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#211F6F
RGBrgb(33, 31, 111)
HSLhsl(242, 56%, 28%)
HSVhsv(242, 72%, 44%)
CMYKcmyk(70.3%, 72.1%, 0%, 56.5%)
CIE-LABlab(17.69, 28.47, -45.88)
CIE-LCHlch(17.69, 54.00, 301.82°)
OKLaboklab(30.24% 0.0139 -0.1325)
OKLCHoklch(30.24% 0.133 276)
XYZxyz(3.9855, 2.4507, 15.2988)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F6F #6D6F1F
analogous
#1F456F #211F6F #491F6F
triadic
#211F6F #6F211F #1F6F21
tetradic
#211F6F #6F1F45 #6D6F1F #1F6F49
square
#211F6F #6F1F45 #6D6F1F #1F6F49
split-complementary
#211F6F #6F491F #456F1F
monochromatic
#070718 #13123F #211F6F #2F2C9F #423FC9

Accessibility & contrast

On white

14.09
#211F6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#211F6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211F6F
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F6F#FFFFFF#000000##FFFFFF
##211F6F1.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#00286E
Tritanopia (blue-blind)
#003544
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #211f6f;
/* rgb */ color: rgb(33, 31, 111);
/* oklch */ color: oklch(30.2% 0.133 276.0);
Tailwind
colors: {
  custom: {
    50: '#685b99',
    500: '#211f6f',
    950: '#000000',
  },
}
SCSS
$custom: #211f6f;
$custom-light: #685b99;
$custom-dark: #000000;
JSON
{
  "hex": "#211f6f",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 111
  },
  "hsl": {
    "h": 241.5,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30242,
    "c": 0.13322,
    "h": 276
  },
  "luminance": 0.02451
}

Semantic roles & 50–950 ramp

primary
#211F6F
secondary
#A1A347
accent
#E048DC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #211F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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