#213A77#213A77

#213A77 is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.5% C 0.109 H 264.8°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#213A77
RGBrgb(33, 58, 119)
HSLhsl(223, 57%, 30%)
HSVhsv(223, 72%, 47%)
CMYKcmyk(72.3%, 51.3%, 0%, 53.3%)
CIE-LABlab(25.81, 12.83, -37.82)
CIE-LCHlch(25.81, 39.94, 288.75°)
OKLaboklab(36.49% -0.0099 -0.1085)
OKLCHoklch(36.49% 0.109 264.8)
XYZxyz(5.4689, 4.6808, 18.0645)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213A77 #775E21
analogous
#216577 #213A77 #332177
triadic
#213A77 #77213A #3A7721
tetradic
#213A77 #772165 #775E21 #217733
square
#213A77 #772165 #775E21 #217733
split-complementary
#213A77 #773321 #657721
monochromatic
#070C18 #142347 #213A77 #2E51A7 #476DCC

Accessibility & contrast

On white

10.85
#213A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#213A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213A77
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213A77#FFFFFF#000000##FFFFFF
##213A771.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184179
Deuteranopia (green-blind)
#003976
Tritanopia (blue-blind)
#004852
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #213a77;
/* rgb */ color: rgb(33, 58, 119);
/* oklch */ color: oklch(36.5% 0.109 264.8);
Tailwind
colors: {
  custom: {
    50: '#686f9f',
    500: '#213a77',
    950: '#000000',
  },
}
SCSS
$custom: #213a77;
$custom-light: #686f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#213a77",
  "rgb": {
    "r": 33,
    "g": 58,
    "b": 119
  },
  "hsl": {
    "h": 222.558,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36488,
    "c": 0.10895,
    "h": 264.8
  },
  "luminance": 0.04681
}

Semantic roles & 50–950 ramp

primary
#213A77
secondary
#AA8E4A
accent
#B448E0
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #213A77

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

Preview Lab → · Contrast checker → · Palette generator →

#213A77 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva