#213A93#213A93

#213A93 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.8% C 0.150 H 267.0°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#213A93
RGBrgb(33, 58, 147)
HSLhsl(227, 63%, 35%)
HSVhsv(227, 78%, 58%)
CMYKcmyk(77.6%, 60.5%, 0%, 42.4%)
CIE-LABlab(27.99, 23.92, -51.72)
CIE-LCHlch(27.99, 56.99, 294.82°)
OKLaboklab(38.83% -0.0078 -0.1494)
OKLCHoklch(38.83% 0.15 267)
XYZxyz(7.4049, 5.4552, 28.2608)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213A93 #937A21
analogous
#217393 #213A93 #412193
triadic
#213A93 #93213A #3A9321
tetradic
#213A93 #932173 #937A21 #219341
square
#213A93 #932173 #937A21 #219341
split-complementary
#213A93 #934121 #739321
monochromatic
#0B132F #162661 #213A93 #2C4EC5 #5572D9

Accessibility & contrast

On white

10.04
#213A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#213A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213A93
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213A93#FFFFFF#000000##FFFFFF
##213A931.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004896
Deuteranopia (green-blind)
#003D91
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #213a93;
/* rgb */ color: rgb(33, 58, 147);
/* oklch */ color: oklch(38.8% 0.150 267.0);
Tailwind
colors: {
  custom: {
    50: '#6f6fb3',
    500: '#213a93',
    950: '#000000',
  },
}
SCSS
$custom: #213a93;
$custom-light: #6f6fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#213a93",
  "rgb": {
    "r": 33,
    "g": 58,
    "b": 147
  },
  "hsl": {
    "h": 226.842,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3883,
    "c": 0.14959,
    "h": 267
  },
  "luminance": 0.05456
}

Semantic roles & 50–950 ramp

primary
#213A93
secondary
#BDA653
accent
#C241E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #213A93

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

Preview Lab → · Contrast checker → · Palette generator →

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