#213699#213699

#213699 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.6% C 0.163 H 268.2°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#213699
RGBrgb(33, 54, 153)
HSLhsl(230, 65%, 36%)
HSVhsv(230, 78%, 60%)
CMYKcmyk(78.4%, 64.7%, 0%, 40%)
CIE-LABlab(27.46, 28.94, -56.26)
CIE-LCHlch(27.46, 63.27, 297.22°)
OKLaboklab(38.6% -0.0052 -0.1627)
OKLCHoklch(38.6% 0.163 268.2)
XYZxyz(7.6941, 5.2607, 30.7407)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213699 #998421
analogous
#217299 #213699 #482199
triadic
#213699 #992136 #369921
tetradic
#213699 #992172 #998421 #219948
square
#213699 #992172 #998421 #219948
split-complementary
#213699 #994821 #729921
monochromatic
#0B1234 #162467 #213699 #2C48CB #5970DB

Accessibility & contrast

On white

10.23
#213699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#213699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213699
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213699#FFFFFF#000000##FFFFFF
##2136991.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#003B97
Tritanopia (blue-blind)
#005062
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #213699;
/* rgb */ color: rgb(33, 54, 153);
/* oklch */ color: oklch(38.6% 0.163 268.2);
Tailwind
colors: {
  custom: {
    50: '#716db8',
    500: '#213699',
    950: '#000000',
  },
}
SCSS
$custom: #213699;
$custom-light: #716db8;
$custom-dark: #000000;
JSON
{
  "hex": "#213699",
  "rgb": {
    "r": 33,
    "g": 54,
    "b": 153
  },
  "hsl": {
    "h": 229.5,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.386,
    "c": 0.16283,
    "h": 268.2
  },
  "luminance": 0.05262
}

Semantic roles & 50–950 ramp

primary
#213699
secondary
#BFAD56
accent
#CA40E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #213699

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

Preview Lab → · Contrast checker → · Palette generator →

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