#213377#213377

#213377 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.9% C 0.118 H 268.4°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#213377
RGBrgb(33, 51, 119)
HSLhsl(227, 57%, 30%)
HSVhsv(227, 72%, 47%)
CMYKcmyk(72.3%, 57.1%, 0%, 53.3%)
CIE-LABlab(23.75, 17.76, -41.15)
CIE-LCHlch(23.75, 44.82, 293.35°)
OKLaboklab(34.93% -0.0033 -0.1184)
OKLCHoklch(34.93% 0.118 268.4)
XYZxyz(5.1397, 4.0224, 17.9547)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213377 #776521
analogous
#215E77 #213377 #3A2177
triadic
#213377 #772133 #337721
tetradic
#213377 #77215E #776521 #21773A
square
#213377 #77215E #776521 #21773A
split-complementary
#213377 #773A21 #5E7721
monochromatic
#070A18 #141E47 #213377 #2E48A7 #4762CC

Accessibility & contrast

On white

11.64
#213377 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#213377 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213377
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213377#FFFFFF#000000##FFFFFF
##2133771.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D79
Deuteranopia (green-blind)
#003576
Tritanopia (blue-blind)
#00434F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #213377;
/* rgb */ color: rgb(33, 51, 119);
/* oklch */ color: oklch(34.9% 0.118 268.4);
Tailwind
colors: {
  custom: {
    50: '#686a9f',
    500: '#213377',
    950: '#000000',
  },
}
SCSS
$custom: #213377;
$custom-light: #686a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#213377",
  "rgb": {
    "r": 33,
    "g": 51,
    "b": 119
  },
  "hsl": {
    "h": 227.442,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34927,
    "c": 0.11847,
    "h": 268.4
  },
  "luminance": 0.04023
}

Semantic roles & 50–950 ramp

primary
#213377
secondary
#AA964A
accent
#C048E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #213377

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

Preview Lab → · Contrast checker → · Palette generator →

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