#213273#213273

#213273 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.4% C 0.114 H 268.7°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#213273
RGBrgb(33, 50, 115)
HSLhsl(228, 55%, 29%)
HSVhsv(228, 71%, 45%)
CMYKcmyk(71.3%, 56.5%, 0%, 54.9%)
CIE-LABlab(23.14, 16.88, -39.58)
CIE-LCHlch(23.14, 43.03, 293.10°)
OKLaboklab(34.37% -0.0026 -0.1138)
OKLCHoklch(34.37% 0.114 268.7)
XYZxyz(4.8613, 3.8419, 16.7017)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213273 #736221
analogous
#215B73 #213273 #392173
triadic
#213273 #732132 #327321
tetradic
#213273 #73215B #736221 #217339
square
#213273 #73215B #736221 #217339
split-complementary
#213273 #733921 #5B7321
monochromatic
#070A18 #131D43 #213273 #2F47A3 #4560CA

Accessibility & contrast

On white

11.88
#213273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#213273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213273
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213273#FFFFFF#000000##FFFFFF
##2132731.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033B75
Deuteranopia (green-blind)
#003472
Tritanopia (blue-blind)
#00424D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #213273;
/* rgb */ color: rgb(33, 50, 115);
/* oklch */ color: oklch(34.4% 0.114 268.7);
Tailwind
colors: {
  custom: {
    50: '#67699c',
    500: '#213273',
    950: '#000000',
  },
}
SCSS
$custom: #213273;
$custom-light: #67699c;
$custom-dark: #000000;
JSON
{
  "hex": "#213273",
  "rgb": {
    "r": 33,
    "g": 50,
    "b": 115
  },
  "hsl": {
    "h": 227.561,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34373,
    "c": 0.11384,
    "h": 268.7
  },
  "luminance": 0.03842
}

Semantic roles & 50–950 ramp

primary
#213273
secondary
#A69349
accent
#C049DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #213273

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

Preview Lab → · Contrast checker → · Palette generator →

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