#211657#211657

#211657 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.2% C 0.111 H 283.4°. Best body text is #FFFFFF at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#211657
RGBrgb(33, 22, 87)
HSLhsl(250, 60%, 21%)
HSVhsv(250, 75%, 34%)
CMYKcmyk(62.1%, 74.7%, 0%, 65.9%)
CIE-LABlab(13.14, 25.71, -37.47)
CIE-LCHlch(13.14, 45.44, 304.46°)
OKLaboklab(26.23% 0.0257 -0.1078)
OKLCHoklch(26.23% 0.111 283.4)
XYZxyz(2.6339, 1.5851, 9.1821)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211657 #4C5716
analogous
#162C57 #211657 #421657
triadic
#211657 #572116 #165721
tetradic
#211657 #57162C #4C5716 #165742
square
#211657 #57162C #4C5716 #165742
split-complementary
#211657 #574216 #2C5716
monochromatic
#090618 #0E0A26 #211657 #342288 #462FB9

Accessibility & contrast

On white

15.95
#211657 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#211657 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211657
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211657#FFFFFF#000000##FFFFFF
##2116571.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002459
Deuteranopia (green-blind)
#002056
Tritanopia (blue-blind)
#052734
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #211657;
/* rgb */ color: rgb(33, 22, 87);
/* oklch */ color: oklch(26.2% 0.111 283.4);
Tailwind
colors: {
  custom: {
    50: '#635487',
    500: '#211657',
    950: '#000000',
  },
}
SCSS
$custom: #211657;
$custom-light: #635487;
$custom-dark: #000000;
JSON
{
  "hex": "#211657",
  "rgb": {
    "r": 33,
    "g": 22,
    "b": 87
  },
  "hsl": {
    "h": 250.154,
    "s": 59.633,
    "l": 21.373
  },
  "oklch": {
    "l": 0.26229,
    "c": 0.11085,
    "h": 283.4
  },
  "luminance": 0.01585
}

Semantic roles & 50–950 ramp

primary
#211657
secondary
#808E3A
accent
#E345C8
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06030B
muted
#7A787C

Preview Lab

Preview with #211657

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

Preview Lab → · Contrast checker → · Palette generator →

#211657 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva