#213B8D#213B8D

#213B8D is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.5% C 0.140 H 266.4°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#213B8D
RGBrgb(33, 59, 141)
HSLhsl(226, 62%, 34%)
HSVhsv(226, 77%, 55%)
CMYKcmyk(76.6%, 58.2%, 0%, 44.7%)
CIE-LABlab(27.77, 20.88, -48.39)
CIE-LCHlch(27.77, 52.70, 293.34°)
OKLaboklab(38.51% -0.0088 -0.1396)
OKLCHoklch(38.51% 0.14 266.4)
XYZxyz(6.9972, 5.3736, 25.8626)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213B8D #8D7321
analogous
#21718D #213B8D #3D218D
triadic
#213B8D #8D213B #3B8D21
tetradic
#213B8D #8D2171 #8D7321 #218D3D
square
#213B8D #8D2171 #8D7321 #218D3D
split-complementary
#213B8D #8D3D21 #718D21
monochromatic
#0A112A #15265B #213B8D #2D50BF #5272D6

Accessibility & contrast

On white

10.12
#213B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#213B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213B8D
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213B8D#FFFFFF#000000##FFFFFF
##213B8D1.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #213b8d;
/* rgb */ color: rgb(33, 59, 141);
/* oklch */ color: oklch(38.5% 0.140 266.4);
Tailwind
colors: {
  custom: {
    50: '#6d70af',
    500: '#213b8d',
    950: '#000000',
  },
}
SCSS
$custom: #213b8d;
$custom-light: #6d70af;
$custom-dark: #000000;
JSON
{
  "hex": "#213b8d",
  "rgb": {
    "r": 33,
    "g": 59,
    "b": 141
  },
  "hsl": {
    "h": 225.556,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.3851,
    "c": 0.13985,
    "h": 266.4
  },
  "luminance": 0.05374
}

Semantic roles & 50–950 ramp

primary
#213B8D
secondary
#BAA050
accent
#BE43E5
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #213B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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