#213072#213072

#213072 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.9% C 0.115 H 269.6°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#213072
RGBrgb(33, 48, 114)
HSLhsl(229, 55%, 29%)
HSVhsv(229, 71%, 45%)
CMYKcmyk(71.1%, 57.9%, 0%, 55.3%)
CIE-LABlab(22.48, 17.90, -40.00)
CIE-LCHlch(22.48, 43.82, 294.11°)
OKLaboklab(33.85% -0.0008 -0.1151)
OKLCHoklch(33.85% 0.115 269.6)
XYZxyz(4.7204, 3.6517, 16.3724)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213072 #726321
analogous
#215972 #213072 #3B2172
triadic
#213072 #722130 #307221
tetradic
#213072 #722159 #726321 #21723B
square
#213072 #722159 #726321 #21723B
split-complementary
#213072 #723B21 #597221
monochromatic
#070A18 #131C43 #213072 #2F44A1 #445DC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##213072#FFFFFF#000000##FFFFFF
##2130721.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)
#003A74
Deuteranopia (green-blind)
#003271
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #213072;
/* rgb */ color: rgb(33, 48, 114);
/* oklch */ color: oklch(33.9% 0.115 269.6);
Tailwind
colors: {
  custom: {
    50: '#67689b',
    500: '#213072',
    950: '#000000',
  },
}
SCSS
$custom: #213072;
$custom-light: #67689b;
$custom-dark: #000000;
JSON
{
  "hex": "#213072",
  "rgb": {
    "r": 33,
    "g": 48,
    "b": 114
  },
  "hsl": {
    "h": 228.889,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33854,
    "c": 0.11508,
    "h": 269.6
  },
  "luminance": 0.03652
}

Semantic roles & 50–950 ramp

primary
#213072
secondary
#A59449
accent
#C349DE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #213072

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

Preview Lab → · Contrast checker → · Palette generator →

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