#211F61#211F61

#211F61 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.8% C 0.113 H 277.9°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#211F61
RGBrgb(33, 31, 97)
HSLhsl(242, 52%, 25%)
HSVhsv(242, 68%, 38%)
CMYKcmyk(66%, 68%, 0%, 62%)
CIE-LABlab(16.34, 23.31, -38.93)
CIE-LCHlch(16.34, 45.38, 300.91°)
OKLaboklab(28.84% 0.0156 -0.1121)
OKLCHoklch(28.84% 0.113 277.9)
XYZxyz(3.2742, 2.1661, 11.5525)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F61 #5F611F
analogous
#1F3E61 #211F61 #421F61
triadic
#211F61 #61211F #1F6121
tetradic
#211F61 #611F3E #5F611F #1F6142
square
#211F61 #611F3E #5F611F #1F6142
split-complementary
#211F61 #61421F #3E611F
monochromatic
#080717 #111033 #211F61 #312E8F #413DBE

Accessibility & contrast

On white

14.65
#211F61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#211F61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211F61
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F61#FFFFFF#000000##FFFFFF
##211F611.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B63
Deuteranopia (green-blind)
#002660
Tritanopia (blue-blind)
#00303C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #211f61;
/* rgb */ color: rgb(33, 31, 97);
/* oklch */ color: oklch(28.8% 0.113 277.9);
Tailwind
colors: {
  custom: {
    50: '#655b8f',
    500: '#211f61',
    950: '#000000',
  },
}
SCSS
$custom: #211f61;
$custom-light: #655b8f;
$custom-dark: #000000;
JSON
{
  "hex": "#211f61",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 97
  },
  "hsl": {
    "h": 241.818,
    "s": 51.563,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28839,
    "c": 0.1132,
    "h": 277.9
  },
  "luminance": 0.02166
}

Semantic roles & 50–950 ramp

primary
#211F61
secondary
#939646
accent
#DB4DD7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #211F61

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

Preview Lab → · Contrast checker → · Palette generator →

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