#213167#213167

#213167 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.2% C 0.097 H 268.3°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#213167
RGBrgb(33, 49, 103)
HSLhsl(226, 51%, 27%)
HSVhsv(226, 68%, 40%)
CMYKcmyk(68%, 52.4%, 0%, 59.6%)
CIE-LABlab(21.94, 12.85, -33.78)
CIE-LCHlch(21.94, 36.14, 290.83°)
OKLaboklab(33.18% -0.0028 -0.0968)
OKLCHoklch(33.18% 0.097 268.3)
XYZxyz(4.1729, 3.4989, 13.2848)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213167 #675721
analogous
#215467 #213167 #342167
triadic
#213167 #672131 #316721
tetradic
#213167 #672154 #675721 #216734
square
#213167 #672154 #675721 #216734
split-complementary
#213167 #673421 #546721
monochromatic
#070B17 #121B39 #213167 #304795 #405EC2

Accessibility & contrast

On white

12.35
#213167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#213167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213167
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213167#FFFFFF#000000##FFFFFF
##2131671.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143869
Deuteranopia (green-blind)
#043266
Tritanopia (blue-blind)
#003E47
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #213167;
/* rgb */ color: rgb(33, 49, 103);
/* oklch */ color: oklch(33.2% 0.097 268.3);
Tailwind
colors: {
  custom: {
    50: '#656893',
    500: '#213167',
    950: '#000000',
  },
}
SCSS
$custom: #213167;
$custom-light: #656893;
$custom-dark: #000000;
JSON
{
  "hex": "#213167",
  "rgb": {
    "r": 33,
    "g": 49,
    "b": 103
  },
  "hsl": {
    "h": 226.286,
    "s": 51.471,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33176,
    "c": 0.09682,
    "h": 268.3
  },
  "luminance": 0.03499
}

Semantic roles & 50–950 ramp

primary
#213167
secondary
#9B8849
accent
#BA4DDB
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #213167

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

Preview Lab → · Contrast checker → · Palette generator →

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