#213C93#213C93

#213C93 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.2% C 0.147 H 266.4°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#213C93
RGBrgb(33, 60, 147)
HSLhsl(226, 63%, 35%)
HSVhsv(226, 78%, 58%)
CMYKcmyk(77.6%, 59.2%, 0%, 42.4%)
CIE-LABlab(28.54, 22.55, -50.84)
CIE-LCHlch(28.54, 55.61, 293.92°)
OKLaboklab(39.24% -0.0092 -0.1467)
OKLCHoklch(39.24% 0.147 266.4)
XYZxyz(7.5077, 5.6608, 28.2951)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213C93 #937821
analogous
#217593 #213C93 #3F2193
triadic
#213C93 #93213C #3C9321
tetradic
#213C93 #932175 #937821 #21933F
square
#213C93 #932175 #937821 #21933F
split-complementary
#213C93 #933F21 #759321
monochromatic
#0B132F #162861 #213C93 #2C50C5 #5575D9

Accessibility & contrast

On white

9.85
#213C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#213C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213C93
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213C93#FFFFFF#000000##FFFFFF
##213C931.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #213c93;
/* rgb */ color: rgb(33, 60, 147);
/* oklch */ color: oklch(39.2% 0.147 266.4);
Tailwind
colors: {
  custom: {
    50: '#6f71b3',
    500: '#213c93',
    950: '#000000',
  },
}
SCSS
$custom: #213c93;
$custom-light: #6f71b3;
$custom-dark: #000000;
JSON
{
  "hex": "#213c93",
  "rgb": {
    "r": 33,
    "g": 60,
    "b": 147
  },
  "hsl": {
    "h": 225.789,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39238,
    "c": 0.14704,
    "h": 266.4
  },
  "luminance": 0.05662
}

Semantic roles & 50–950 ramp

primary
#213C93
secondary
#BDA453
accent
#BF41E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #213C93

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

Preview Lab → · Contrast checker → · Palette generator →

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