#213B93#213B93

#213B93 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.0% C 0.148 H 266.7°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#213B93
RGBrgb(33, 59, 147)
HSLhsl(226, 63%, 35%)
HSVhsv(226, 78%, 58%)
CMYKcmyk(77.6%, 59.9%, 0%, 42.4%)
CIE-LABlab(28.27, 23.23, -51.28)
CIE-LCHlch(28.27, 56.30, 294.37°)
OKLaboklab(39.03% -0.0085 -0.1481)
OKLCHoklch(39.03% 0.148 266.7)
XYZxyz(7.4558, 5.5570, 28.2778)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213B93 #937921
analogous
#217493 #213B93 #402193
triadic
#213B93 #93213B #3B9321
tetradic
#213B93 #932174 #937921 #219340
square
#213B93 #932174 #937921 #219340
split-complementary
#213B93 #934021 #749321
monochromatic
#0B132F #162761 #213B93 #2C4FC5 #5573D9

Accessibility & contrast

On white

9.95
#213B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#213B93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213B93
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213B93#FFFFFF#000000##FFFFFF
##213B931.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004896
Deuteranopia (green-blind)
#003E91
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #213b93;
/* rgb */ color: rgb(33, 59, 147);
/* oklch */ color: oklch(39.0% 0.148 266.7);
Tailwind
colors: {
  custom: {
    50: '#6f70b3',
    500: '#213b93',
    950: '#000000',
  },
}
SCSS
$custom: #213b93;
$custom-light: #6f70b3;
$custom-dark: #000000;
JSON
{
  "hex": "#213b93",
  "rgb": {
    "r": 33,
    "g": 59,
    "b": 147
  },
  "hsl": {
    "h": 226.316,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39033,
    "c": 0.14833,
    "h": 266.7
  },
  "luminance": 0.05558
}

Semantic roles & 50–950 ramp

primary
#213B93
secondary
#BDA553
accent
#C141E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #213B93

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

Preview Lab → · Contrast checker → · Palette generator →

#213B93 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva