#213B8F#213B8F

#213B8F is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.7% C 0.143 H 266.5°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#213B8F
RGBrgb(33, 59, 143)
HSLhsl(226, 63%, 35%)
HSVhsv(226, 77%, 56%)
CMYKcmyk(76.9%, 58.7%, 0%, 43.9%)
CIE-LABlab(27.94, 21.66, -49.36)
CIE-LCHlch(27.94, 53.90, 293.70°)
OKLaboklab(38.68% -0.0087 -0.1424)
OKLCHoklch(38.68% 0.143 266.5)
XYZxyz(7.1474, 5.4336, 26.6534)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213B8F #8F7521
analogous
#21728F #213B8F #3E218F
triadic
#213B8F #8F213B #3B8F21
tetradic
#213B8F #8F2172 #8F7521 #218F3E
square
#213B8F #8F2172 #8F7521 #218F3E
split-complementary
#213B8F #8F3E21 #728F21
monochromatic
#0A122C #16265D #213B8F #2C50C1 #5372D7

Accessibility & contrast

On white

10.06
#213B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213B8F
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213B8F#FFFFFF#000000##FFFFFF
##213B8F1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #213b8f;
/* rgb */ color: rgb(33, 59, 143);
/* oklch */ color: oklch(38.7% 0.143 266.5);
Tailwind
colors: {
  custom: {
    50: '#6e70b0',
    500: '#213b8f',
    950: '#000000',
  },
}
SCSS
$custom: #213b8f;
$custom-light: #6e70b0;
$custom-dark: #000000;
JSON
{
  "hex": "#213b8f",
  "rgb": {
    "r": 33,
    "g": 59,
    "b": 143
  },
  "hsl": {
    "h": 225.818,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38682,
    "c": 0.14269,
    "h": 266.5
  },
  "luminance": 0.05434
}

Semantic roles & 50–950 ramp

primary
#213B8F
secondary
#BBA251
accent
#BF42E6
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080711
muted
#7B7A80

Preview Lab

Preview with #213B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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