#213272#213272

#213272 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.3% C 0.112 H 268.6°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#213272
RGBrgb(33, 50, 114)
HSLhsl(227, 55%, 29%)
HSVhsv(227, 71%, 45%)
CMYKcmyk(71.1%, 56.1%, 0%, 55.3%)
CIE-LABlab(23.06, 16.49, -39.06)
CIE-LCHlch(23.06, 42.40, 292.88°)
OKLaboklab(34.29% -0.0027 -0.1123)
OKLCHoklch(34.29% 0.112 268.6)
XYZxyz(4.8040, 3.8190, 16.4003)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213272 #726121
analogous
#215B72 #213272 #392172
triadic
#213272 #722132 #327221
tetradic
#213272 #72215B #726121 #217239
square
#213272 #72215B #726121 #217239
split-complementary
#213272 #723921 #5B7221
monochromatic
#070A18 #131D43 #213272 #2F47A1 #4460C9

Accessibility & contrast

On white

11.91
#213272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#213272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213272
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213272#FFFFFF#000000##FFFFFF
##2132721.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053B74
Deuteranopia (green-blind)
#003371
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #213272;
/* rgb */ color: rgb(33, 50, 114);
/* oklch */ color: oklch(34.3% 0.112 268.6);
Tailwind
colors: {
  custom: {
    50: '#67699b',
    500: '#213272',
    950: '#000000',
  },
}
SCSS
$custom: #213272;
$custom-light: #67699b;
$custom-dark: #000000;
JSON
{
  "hex": "#213272",
  "rgb": {
    "r": 33,
    "g": 50,
    "b": 114
  },
  "hsl": {
    "h": 227.407,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3429,
    "c": 0.11232,
    "h": 268.6
  },
  "luminance": 0.03819
}

Semantic roles & 50–950 ramp

primary
#213272
secondary
#A59249
accent
#BF49DE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #213272

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

Preview Lab → · Contrast checker → · Palette generator →

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