#213176#213176

#213176 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.4% C 0.120 H 269.3°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#213176
RGBrgb(33, 49, 118)
HSLhsl(229, 56%, 30%)
HSVhsv(229, 72%, 46%)
CMYKcmyk(72%, 58.5%, 0%, 53.7%)
CIE-LABlab(23.09, 18.77, -41.57)
CIE-LCHlch(23.09, 45.61, 294.31°)
OKLaboklab(34.41% -0.0015 -0.1197)
OKLCHoklch(34.41% 0.12 269.3)
XYZxyz(4.9944, 3.8275, 17.6116)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213176 #766621
analogous
#215C76 #213176 #3C2176
triadic
#213176 #762131 #317621
tetradic
#213176 #76215C #766621 #21763C
square
#213176 #76215C #766621 #21763C
split-complementary
#213176 #763C21 #5C7621
monochromatic
#070A18 #141D46 #213176 #2E45A6 #465FCB

Accessibility & contrast

On white

11.89
#213176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213176
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213176#FFFFFF#000000##FFFFFF
##2131761.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B78
Deuteranopia (green-blind)
#003375
Tritanopia (blue-blind)
#00424E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #213176;
/* rgb */ color: rgb(33, 49, 118);
/* oklch */ color: oklch(34.4% 0.120 269.3);
Tailwind
colors: {
  custom: {
    50: '#68689e',
    500: '#213176',
    950: '#000000',
  },
}
SCSS
$custom: #213176;
$custom-light: #68689e;
$custom-dark: #000000;
JSON
{
  "hex": "#213176",
  "rgb": {
    "r": 33,
    "g": 49,
    "b": 118
  },
  "hsl": {
    "h": 228.706,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34412,
    "c": 0.1197,
    "h": 269.3
  },
  "luminance": 0.03828
}

Semantic roles & 50–950 ramp

primary
#213176
secondary
#A9974A
accent
#C348E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #213176

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

Preview Lab → · Contrast checker → · Palette generator →

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