#213197#213197

#213197 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.5% C 0.166 H 269.3°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#213197
RGBrgb(33, 49, 151)
HSLhsl(232, 64%, 36%)
HSVhsv(232, 78%, 59%)
CMYKcmyk(78.1%, 67.5%, 0%, 40.8%)
CIE-LABlab(26.02, 31.50, -57.41)
CIE-LCHlch(26.02, 65.49, 298.76°)
OKLaboklab(37.48% -0.0021 -0.1661)
OKLCHoklch(37.48% 0.166 269.3)
XYZxyz(7.3095, 4.7535, 29.8044)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213197 #978721
analogous
#216C97 #213197 #4C2197
triadic
#213197 #972131 #319721
tetradic
#213197 #97216C #978721 #21974C
square
#213197 #97216C #978721 #21974C
split-complementary
#213197 #974C21 #6C9721
monochromatic
#0B1033 #162165 #213197 #2C41C9 #586ADA

Accessibility & contrast

On white

10.76
#213197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#213197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213197
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213197#FFFFFF#000000##FFFFFF
##2131971.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#003895
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #213197;
/* rgb */ color: rgb(33, 49, 151);
/* oklch */ color: oklch(37.5% 0.166 269.3);
Tailwind
colors: {
  custom: {
    50: '#7169b7',
    500: '#213197',
    950: '#000000',
  },
}
SCSS
$custom: #213197;
$custom-light: #7169b7;
$custom-dark: #000000;
JSON
{
  "hex": "#213197",
  "rgb": {
    "r": 33,
    "g": 49,
    "b": 151
  },
  "hsl": {
    "h": 231.864,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37484,
    "c": 0.16615,
    "h": 269.3
  },
  "luminance": 0.04754
}

Semantic roles & 50–950 ramp

primary
#213197
secondary
#BEB055
accent
#D141E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #213197

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

Preview Lab → · Contrast checker → · Palette generator →

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