#213671#213671

#213671 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.1% C 0.105 H 266.3°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#213671
RGBrgb(33, 54, 113)
HSLhsl(224, 55%, 29%)
HSVhsv(224, 71%, 44%)
CMYKcmyk(70.8%, 52.2%, 0%, 55.7%)
CIE-LABlab(24.17, 13.26, -36.63)
CIE-LCHlch(24.17, 38.96, 289.90°)
OKLaboklab(35.11% -0.0068 -0.1051)
OKLCHoklch(35.11% 0.105 266.3)
XYZxyz(4.9260, 4.1534, 16.1617)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213671 #715C21
analogous
#215E71 #213671 #342171
triadic
#213671 #712136 #367121
tetradic
#213671 #71215E #715C21 #217134
square
#213671 #71215E #715C21 #217134
split-complementary
#213671 #713421 #5E7121
monochromatic
#070B18 #131F42 #213671 #2F4DA0 #4467C8

Accessibility & contrast

On white

11.47
#213671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#213671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213671
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213671#FFFFFF#000000##FFFFFF
##2136711.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153D73
Deuteranopia (green-blind)
#003670
Tritanopia (blue-blind)
#00444E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #213671;
/* rgb */ color: rgb(33, 54, 113);
/* oklch */ color: oklch(35.1% 0.105 266.3);
Tailwind
colors: {
  custom: {
    50: '#676c9a',
    500: '#213671',
    950: '#000000',
  },
}
SCSS
$custom: #213671;
$custom-light: #676c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#213671",
  "rgb": {
    "r": 33,
    "g": 54,
    "b": 113
  },
  "hsl": {
    "h": 224.25,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.35106,
    "c": 0.1053,
    "h": 266.3
  },
  "luminance": 0.04154
}

Semantic roles & 50–950 ramp

primary
#213671
secondary
#A58D49
accent
#B74ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #213671

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

Preview Lab → · Contrast checker → · Palette generator →

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