#213177#213177

#213177 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.5% C 0.121 H 269.3°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#213177
RGBrgb(33, 49, 119)
HSLhsl(229, 57%, 30%)
HSVhsv(229, 72%, 47%)
CMYKcmyk(72.3%, 58.8%, 0%, 53.3%)
CIE-LABlab(23.17, 19.17, -42.07)
CIE-LCHlch(23.17, 46.23, 294.49°)
OKLaboklab(34.5% -0.0015 -0.1212)
OKLCHoklch(34.5% 0.121 269.3)
XYZxyz(5.0541, 3.8514, 17.9262)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213177 #776721
analogous
#215C77 #213177 #3C2177
triadic
#213177 #772131 #317721
tetradic
#213177 #77215C #776721 #21773C
square
#213177 #77215C #776721 #21773C
split-complementary
#213177 #773C21 #5C7721
monochromatic
#070A18 #141D47 #213177 #2E45A7 #475FCC

Accessibility & contrast

On white

11.86
#213177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213177
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213177#FFFFFF#000000##FFFFFF
##2131771.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B79
Deuteranopia (green-blind)
#003376
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #213177;
/* rgb */ color: rgb(33, 49, 119);
/* oklch */ color: oklch(34.5% 0.121 269.3);
Tailwind
colors: {
  custom: {
    50: '#68689f',
    500: '#213177',
    950: '#000000',
  },
}
SCSS
$custom: #213177;
$custom-light: #68689f;
$custom-dark: #000000;
JSON
{
  "hex": "#213177",
  "rgb": {
    "r": 33,
    "g": 49,
    "b": 119
  },
  "hsl": {
    "h": 228.837,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34498,
    "c": 0.12118,
    "h": 269.3
  },
  "luminance": 0.03852
}

Semantic roles & 50–950 ramp

primary
#213177
secondary
#AA984A
accent
#C448E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #213177

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

Preview Lab → · Contrast checker → · Palette generator →

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