#213C99#213C99

#213C99 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.155 H 266.6°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#213C99
RGBrgb(33, 60, 153)
HSLhsl(227, 65%, 36%)
HSVhsv(227, 78%, 60%)
CMYKcmyk(78.4%, 60.8%, 0%, 40%)
CIE-LABlab(29.04, 24.89, -53.69)
CIE-LCHlch(29.04, 59.18, 294.88°)
OKLaboklab(39.77% -0.0091 -0.1551)
OKLCHoklch(39.77% 0.155 266.6)
XYZxyz(7.9908, 5.8541, 30.8396)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213C99 #997E21
analogous
#217899 #213C99 #422199
triadic
#213C99 #99213C #3C9921
tetradic
#213C99 #992178 #997E21 #219942
square
#213C99 #992178 #997E21 #219942
split-complementary
#213C99 #994221 #789921
monochromatic
#0B1534 #162867 #213C99 #2C50CB #5976DB

Accessibility & contrast

On white

9.67
#213C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#213C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213C99
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213C99#FFFFFF#000000##FFFFFF
##213C991.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #213c99;
/* rgb */ color: rgb(33, 60, 153);
/* oklch */ color: oklch(39.8% 0.155 266.6);
Tailwind
colors: {
  custom: {
    50: '#7071b8',
    500: '#213c99',
    950: '#000000',
  },
}
SCSS
$custom: #213c99;
$custom-light: #7071b8;
$custom-dark: #000000;
JSON
{
  "hex": "#213c99",
  "rgb": {
    "r": 33,
    "g": 60,
    "b": 153
  },
  "hsl": {
    "h": 226.5,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39768,
    "c": 0.1554,
    "h": 266.6
  },
  "luminance": 0.05855
}

Semantic roles & 50–950 ramp

primary
#213C99
secondary
#BFA856
accent
#C240E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #213C99

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

Preview Lab → · Contrast checker → · Palette generator →

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