#213477#213477

#213477 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.1% C 0.117 H 267.9°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#213477
RGBrgb(33, 52, 119)
HSLhsl(227, 57%, 30%)
HSVhsv(227, 72%, 47%)
CMYKcmyk(72.3%, 56.3%, 0%, 53.3%)
CIE-LABlab(24.03, 17.05, -40.68)
CIE-LCHlch(24.03, 44.11, 292.75°)
OKLaboklab(35.14% -0.0042 -0.117)
OKLCHoklch(35.14% 0.117 267.9)
XYZxyz(5.1838, 4.1107, 17.9694)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213477 #776421
analogous
#215F77 #213477 #392177
triadic
#213477 #772134 #347721
tetradic
#213477 #77215F #776421 #217739
square
#213477 #77215F #776421 #217739
split-complementary
#213477 #773921 #5F7721
monochromatic
#070A18 #141F47 #213477 #2E49A7 #4764CC

Accessibility & contrast

On white

11.52
#213477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#213477 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213477
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213477#FFFFFF#000000##FFFFFF
##2134771.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023D79
Deuteranopia (green-blind)
#003576
Tritanopia (blue-blind)
#004450
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #213477;
/* rgb */ color: rgb(33, 52, 119);
/* oklch */ color: oklch(35.1% 0.117 267.9);
Tailwind
colors: {
  custom: {
    50: '#686b9f',
    500: '#213477',
    950: '#000000',
  },
}
SCSS
$custom: #213477;
$custom-light: #686b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#213477",
  "rgb": {
    "r": 33,
    "g": 52,
    "b": 119
  },
  "hsl": {
    "h": 226.744,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.35145,
    "c": 0.1171,
    "h": 267.9
  },
  "luminance": 0.04111
}

Semantic roles & 50–950 ramp

primary
#213477
secondary
#AA954A
accent
#BE48E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #213477

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

Preview Lab → · Contrast checker → · Palette generator →

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