#213767#213767

#213767 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.6% C 0.088 H 263.9°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#213767
RGBrgb(33, 55, 103)
HSLhsl(221, 51%, 27%)
HSVhsv(221, 68%, 40%)
CMYKcmyk(68%, 46.6%, 0%, 59.6%)
CIE-LABlab(23.79, 8.59, -30.82)
CIE-LCHlch(23.79, 32.00, 285.58°)
OKLaboklab(34.59% -0.0095 -0.088)
OKLCHoklch(34.59% 0.088 263.9)
XYZxyz(4.4407, 4.0346, 13.3741)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213767 #675121
analogous
#215A67 #213767 #2E2167
triadic
#213767 #672137 #376721
tetradic
#213767 #67215A #675121 #21672E
square
#213767 #67215A #675121 #21672E
split-complementary
#213767 #672E21 #5A6721
monochromatic
#070C17 #121E39 #213767 #305095 #4069C2

Accessibility & contrast

On white

11.62
#213767 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#213767 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213767
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213767#FFFFFF#000000##FFFFFF
##2137671.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203C69
Deuteranopia (green-blind)
#153666
Tritanopia (blue-blind)
#00424A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #213767;
/* rgb */ color: rgb(33, 55, 103);
/* oklch */ color: oklch(34.6% 0.088 263.9);
Tailwind
colors: {
  custom: {
    50: '#646d93',
    500: '#213767',
    950: '#000000',
  },
}
SCSS
$custom: #213767;
$custom-light: #646d93;
$custom-dark: #000000;
JSON
{
  "hex": "#213767",
  "rgb": {
    "r": 33,
    "g": 55,
    "b": 103
  },
  "hsl": {
    "h": 221.143,
    "s": 51.471,
    "l": 26.667
  },
  "oklch": {
    "l": 0.34587,
    "c": 0.08849,
    "h": 263.9
  },
  "luminance": 0.04035
}

Semantic roles & 50–950 ramp

primary
#213767
secondary
#9B8149
accent
#AE4DDB
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #213767

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

Preview Lab → · Contrast checker → · Palette generator →

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