#213367#213367

#213367 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.6% C 0.094 H 266.9°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#213367
RGBrgb(33, 51, 103)
HSLhsl(225, 51%, 27%)
HSVhsv(225, 68%, 40%)
CMYKcmyk(68%, 50.5%, 0%, 59.6%)
CIE-LABlab(22.55, 11.43, -32.80)
CIE-LCHlch(22.55, 34.74, 289.21°)
OKLaboklab(33.64% -0.005 -0.0939)
OKLCHoklch(33.64% 0.094 266.9)
XYZxyz(4.2584, 3.6699, 13.3133)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213367 #675521
analogous
#215667 #213367 #322167
triadic
#213367 #672133 #336721
tetradic
#213367 #672156 #675521 #216732
square
#213367 #672156 #675521 #216732
split-complementary
#213367 #673221 #566721
monochromatic
#070B17 #121C39 #213367 #304A95 #4062C2

Accessibility & contrast

On white

12.11
#213367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#213367 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213367
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213367#FFFFFF#000000##FFFFFF
##2133671.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183969
Deuteranopia (green-blind)
#0A3366
Tritanopia (blue-blind)
#003F48
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #213367;
/* rgb */ color: rgb(33, 51, 103);
/* oklch */ color: oklch(33.6% 0.094 266.9);
Tailwind
colors: {
  custom: {
    50: '#656a93',
    500: '#213367',
    950: '#000000',
  },
}
SCSS
$custom: #213367;
$custom-light: #656a93;
$custom-dark: #000000;
JSON
{
  "hex": "#213367",
  "rgb": {
    "r": 33,
    "g": 51,
    "b": 103
  },
  "hsl": {
    "h": 224.571,
    "s": 51.471,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33639,
    "c": 0.094,
    "h": 266.9
  },
  "luminance": 0.0367
}

Semantic roles & 50–950 ramp

primary
#213367
secondary
#9B8649
accent
#B64DDB
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #213367

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

Preview Lab → · Contrast checker → · Palette generator →

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