#213472#213472

#213472 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.7% C 0.110 H 267.6°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#213472
RGBrgb(33, 52, 114)
HSLhsl(226, 55%, 29%)
HSVhsv(226, 71%, 45%)
CMYKcmyk(71.1%, 54.4%, 0%, 55.3%)
CIE-LABlab(23.65, 15.07, -38.11)
CIE-LCHlch(23.65, 40.98, 291.58°)
OKLaboklab(34.73% -0.0047 -0.1095)
OKLCHoklch(34.73% 0.11 267.6)
XYZxyz(4.8914, 3.9937, 16.4294)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213472 #725F21
analogous
#215D72 #213472 #372172
triadic
#213472 #722134 #347221
tetradic
#213472 #72215D #725F21 #217237
square
#213472 #72215D #725F21 #217237
split-complementary
#213472 #723721 #5D7221
monochromatic
#070B18 #131E43 #213472 #2F4AA1 #4464C9

Accessibility & contrast

On white

11.67
#213472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#213472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213472
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213472#FFFFFF#000000##FFFFFF
##2134721.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3C74
Deuteranopia (green-blind)
#003571
Tritanopia (blue-blind)
#00434D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #213472;
/* rgb */ color: rgb(33, 52, 114);
/* oklch */ color: oklch(34.7% 0.110 267.6);
Tailwind
colors: {
  custom: {
    50: '#676b9b',
    500: '#213472',
    950: '#000000',
  },
}
SCSS
$custom: #213472;
$custom-light: #676b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#213472",
  "rgb": {
    "r": 33,
    "g": 52,
    "b": 114
  },
  "hsl": {
    "h": 225.926,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34733,
    "c": 0.10957,
    "h": 267.6
  },
  "luminance": 0.03994
}

Semantic roles & 50–950 ramp

primary
#213472
secondary
#A59049
accent
#BB49DE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #213472

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

Preview Lab → · Contrast checker → · Palette generator →

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