#211F67#211F67

#211F67 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.4% C 0.122 H 277.1°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#211F67
RGBrgb(33, 31, 103)
HSLhsl(242, 54%, 26%)
HSVhsv(242, 70%, 40%)
CMYKcmyk(68%, 69.9%, 0%, 59.6%)
CIE-LABlab(16.90, 25.54, -41.96)
CIE-LCHlch(16.90, 49.12, 301.33°)
OKLaboklab(29.43% 0.015 -0.121)
OKLCHoklch(29.43% 0.122 277.1)
XYZxyz(3.5646, 2.2823, 13.0820)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F67 #65671F
analogous
#1F4167 #211F67 #451F67
triadic
#211F67 #67211F #1F6721
tetradic
#211F67 #671F41 #65671F #1F6745
square
#211F67 #671F41 #65671F #1F6745
split-complementary
#211F67 #67451F #41671F
monochromatic
#080718 #121138 #211F67 #302D96 #403CC4

Accessibility & contrast

On white

14.42
#211F67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#211F67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211F67
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F67#FFFFFF#000000##FFFFFF
##211F671.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D69
Deuteranopia (green-blind)
#002766
Tritanopia (blue-blind)
#003240
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #211f67;
/* rgb */ color: rgb(33, 31, 103);
/* oklch */ color: oklch(29.4% 0.122 277.1);
Tailwind
colors: {
  custom: {
    50: '#665b93',
    500: '#211f67',
    950: '#000000',
  },
}
SCSS
$custom: #211f67;
$custom-light: #665b93;
$custom-dark: #000000;
JSON
{
  "hex": "#211f67",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 103
  },
  "hsl": {
    "h": 241.667,
    "s": 53.731,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29429,
    "c": 0.12192,
    "h": 277.1
  },
  "luminance": 0.02283
}

Semantic roles & 50–950 ramp

primary
#211F67
secondary
#999B46
accent
#DD4BD9
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #211F67

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

Preview Lab → · Contrast checker → · Palette generator →

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