#213366#213366

#213366 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.6% C 0.092 H 266.8°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#213366
RGBrgb(33, 51, 102)
HSLhsl(224, 51%, 26%)
HSVhsv(224, 68%, 40%)
CMYKcmyk(67.6%, 50%, 0%, 60%)
CIE-LABlab(22.48, 11.03, -32.27)
CIE-LCHlch(22.48, 34.10, 288.88°)
OKLaboklab(33.56% -0.0052 -0.0923)
OKLCHoklch(33.56% 0.092 266.8)
XYZxyz(4.2085, 3.6499, 13.0505)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213366 #665421
analogous
#215666 #213366 #322166
triadic
#213366 #662133 #336621
tetradic
#213366 #662156 #665421 #216632
square
#213366 #662156 #665421 #216632
split-complementary
#213366 #663221 #566621
monochromatic
#070C17 #121C38 #213366 #304A94 #4062C1

Accessibility & contrast

On white

12.14
#213366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213366
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213366#FFFFFF#000000##FFFFFF
##2133661.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193968
Deuteranopia (green-blind)
#0C3365
Tritanopia (blue-blind)
#003F47
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #213366;
/* rgb */ color: rgb(33, 51, 102);
/* oklch */ color: oklch(33.6% 0.092 266.8);
Tailwind
colors: {
  custom: {
    50: '#646a92',
    500: '#213366',
    950: '#000000',
  },
}
SCSS
$custom: #213366;
$custom-light: #646a92;
$custom-dark: #000000;
JSON
{
  "hex": "#213366",
  "rgb": {
    "r": 33,
    "g": 51,
    "b": 102
  },
  "hsl": {
    "h": 224.348,
    "s": 51.111,
    "l": 26.471
  },
  "oklch": {
    "l": 0.33563,
    "c": 0.09244,
    "h": 266.8
  },
  "luminance": 0.0365
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #213366

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

Preview Lab → · Contrast checker → · Palette generator →

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