#213673#213673

#213673 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.3% C 0.108 H 266.5°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#213673
RGBrgb(33, 54, 115)
HSLhsl(225, 55%, 29%)
HSVhsv(225, 71%, 45%)
CMYKcmyk(71.3%, 53%, 0%, 54.9%)
CIE-LABlab(24.32, 14.06, -37.67)
CIE-LCHlch(24.32, 40.21, 290.46°)
OKLaboklab(35.26% -0.0065 -0.1081)
OKLCHoklch(35.26% 0.108 266.5)
XYZxyz(5.0398, 4.1990, 16.7612)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213673 #735E21
analogous
#215F73 #213673 #352173
triadic
#213673 #732136 #367321
tetradic
#213673 #73215F #735E21 #217335
square
#213673 #73215F #735E21 #217335
split-complementary
#213673 #733521 #5F7321
monochromatic
#070B18 #132043 #213673 #2F4CA3 #4567CA

Accessibility & contrast

On white

11.41
#213673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#213673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213673
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213673#FFFFFF#000000##FFFFFF
##2136731.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123E75
Deuteranopia (green-blind)
#003672
Tritanopia (blue-blind)
#00444F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #213673;
/* rgb */ color: rgb(33, 54, 115);
/* oklch */ color: oklch(35.3% 0.108 266.5);
Tailwind
colors: {
  custom: {
    50: '#676c9c',
    500: '#213673',
    950: '#000000',
  },
}
SCSS
$custom: #213673;
$custom-light: #676c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#213673",
  "rgb": {
    "r": 33,
    "g": 54,
    "b": 115
  },
  "hsl": {
    "h": 224.634,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35264,
    "c": 0.10834,
    "h": 266.5
  },
  "luminance": 0.04199
}

Semantic roles & 50–950 ramp

primary
#213673
secondary
#A68F49
accent
#B849DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #213673

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

Preview Lab → · Contrast checker → · Palette generator →

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