#213370#213370

#213370 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.3% C 0.108 H 267.9°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#213370
RGBrgb(33, 51, 112)
HSLhsl(226, 54%, 28%)
HSVhsv(226, 71%, 44%)
CMYKcmyk(70.5%, 54.5%, 0%, 56.1%)
CIE-LABlab(23.20, 14.99, -37.55)
CIE-LCHlch(23.20, 40.43, 291.76°)
OKLaboklab(34.35% -0.0039 -0.1078)
OKLCHoklch(34.35% 0.108 267.9)
XYZxyz(4.7346, 3.8604, 15.8217)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213370 #705E21
analogous
#215A70 #213370 #362170
triadic
#213370 #702133 #337021
tetradic
#213370 #70215A #705E21 #217036
square
#213370 #70215A #705E21 #217036
split-complementary
#213370 #703621 #5A7021
monochromatic
#070B18 #131D41 #213370 #2F499F #4462C8

Accessibility & contrast

On white

11.85
#213370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213370
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213370#FFFFFF#000000##FFFFFF
##2133701.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3B72
Deuteranopia (green-blind)
#00346F
Tritanopia (blue-blind)
#00414C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #213370;
/* rgb */ color: rgb(33, 51, 112);
/* oklch */ color: oklch(34.3% 0.108 267.9);
Tailwind
colors: {
  custom: {
    50: '#676a99',
    500: '#213370',
    950: '#000000',
  },
}
SCSS
$custom: #213370;
$custom-light: #676a99;
$custom-dark: #000000;
JSON
{
  "hex": "#213370",
  "rgb": {
    "r": 33,
    "g": 51,
    "b": 112
  },
  "hsl": {
    "h": 226.329,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34347,
    "c": 0.10791,
    "h": 267.9
  },
  "luminance": 0.03861
}

Semantic roles & 50–950 ramp

primary
#213370
secondary
#A48F49
accent
#BC4ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #213370

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

Preview Lab → · Contrast checker → · Palette generator →

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