#213476#213476

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

Color values

HEX#213476
RGBrgb(33, 52, 118)
HSLhsl(227, 56%, 30%)
HSVhsv(227, 72%, 46%)
CMYKcmyk(72%, 55.9%, 0%, 53.7%)
CIE-LABlab(23.96, 16.66, -40.17)
CIE-LCHlch(23.96, 43.49, 292.52°)
OKLaboklab(35.06% -0.0043 -0.1155)
OKLCHoklch(35.06% 0.116 267.9)
XYZxyz(5.1241, 4.0868, 17.6548)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213476 #766321
analogous
#215F76 #213476 #392176
triadic
#213476 #762134 #347621
tetradic
#213476 #76215F #766321 #217639
square
#213476 #76215F #766321 #217639
split-complementary
#213476 #763921 #5F7621
monochromatic
#070B18 #141F46 #213476 #2E49A6 #4664CB

Accessibility & contrast

On white

11.55
#213476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213476
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213476#FFFFFF#000000##FFFFFF
##2134761.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043D78
Deuteranopia (green-blind)
#003575
Tritanopia (blue-blind)
#00444F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #213476;
/* rgb */ color: rgb(33, 52, 118);
/* oklch */ color: oklch(35.1% 0.116 267.9);
Tailwind
colors: {
  custom: {
    50: '#686b9e',
    500: '#213476',
    950: '#000000',
  },
}
SCSS
$custom: #213476;
$custom-light: #686b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#213476",
  "rgb": {
    "r": 33,
    "g": 52,
    "b": 118
  },
  "hsl": {
    "h": 226.588,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35062,
    "c": 0.1156,
    "h": 267.9
  },
  "luminance": 0.04087
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #213476

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

Preview Lab → · Contrast checker → · Palette generator →

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