#213670#213670

#213670 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.0% C 0.104 H 266.2°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#213670
RGBrgb(33, 54, 112)
HSLhsl(224, 54%, 28%)
HSVhsv(224, 71%, 44%)
CMYKcmyk(70.5%, 51.8%, 0%, 56.1%)
CIE-LABlab(24.10, 12.86, -36.11)
CIE-LCHlch(24.10, 38.33, 289.61°)
OKLaboklab(35.03% -0.0069 -0.1035)
OKLCHoklch(35.03% 0.104 266.2)
XYZxyz(4.8700, 4.1310, 15.8668)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213670 #705B21
analogous
#215D70 #213670 #332170
triadic
#213670 #702136 #367021
tetradic
#213670 #70215D #705B21 #217033
square
#213670 #70215D #705B21 #217033
split-complementary
#213670 #703321 #5D7021
monochromatic
#070B18 #131F41 #213670 #2F4D9F #4467C8

Accessibility & contrast

On white

11.50
#213670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213670
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213670#FFFFFF#000000##FFFFFF
##2136701.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163D72
Deuteranopia (green-blind)
#01366F
Tritanopia (blue-blind)
#00444D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #213670;
/* rgb */ color: rgb(33, 54, 112);
/* oklch */ color: oklch(35.0% 0.104 266.2);
Tailwind
colors: {
  custom: {
    50: '#666c99',
    500: '#213670',
    950: '#000000',
  },
}
SCSS
$custom: #213670;
$custom-light: #666c99;
$custom-dark: #000000;
JSON
{
  "hex": "#213670",
  "rgb": {
    "r": 33,
    "g": 54,
    "b": 112
  },
  "hsl": {
    "h": 224.051,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.35027,
    "c": 0.10377,
    "h": 266.2
  },
  "luminance": 0.04132
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #213670

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

Preview Lab → · Contrast checker → · Palette generator →

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