#213B87#213B87

#213B87 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.0% C 0.131 H 266.0°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#213B87
RGBrgb(33, 59, 135)
HSLhsl(225, 61%, 33%)
HSVhsv(225, 76%, 53%)
CMYKcmyk(75.6%, 56.3%, 0%, 47.1%)
CIE-LABlab(27.30, 18.50, -45.45)
CIE-LCHlch(27.30, 49.07, 292.15°)
OKLaboklab(38% -0.0091 -0.1309)
OKLCHoklch(38% 0.131 266)
XYZxyz(6.5628, 5.1998, 23.5748)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213B87 #876D21
analogous
#216E87 #213B87 #3A2187
triadic
#213B87 #87213B #3B8721
tetradic
#213B87 #87216E #876D21 #21873A
square
#213B87 #87216E #876D21 #21873A
split-complementary
#213B87 #873A21 #6E8721
monochromatic
#091025 #152656 #213B87 #2D50B8 #4F71D4

Accessibility & contrast

On white

10.29
#213B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#213B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213B87
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213B87#FFFFFF#000000##FFFFFF
##213B871.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#003C85
Tritanopia (blue-blind)
#004E5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #213b87;
/* rgb */ color: rgb(33, 59, 135);
/* oklch */ color: oklch(38.0% 0.131 266.0);
Tailwind
colors: {
  custom: {
    50: '#6c70ab',
    500: '#213b87',
    950: '#000000',
  },
}
SCSS
$custom: #213b87;
$custom-light: #6c70ab;
$custom-dark: #000000;
JSON
{
  "hex": "#213b87",
  "rgb": {
    "r": 33,
    "g": 59,
    "b": 135
  },
  "hsl": {
    "h": 224.706,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38,
    "c": 0.13125,
    "h": 266
  },
  "luminance": 0.05201
}

Semantic roles & 50–950 ramp

primary
#213B87
secondary
#B79C4D
accent
#BB44E4
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #213B87

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

Preview Lab → · Contrast checker → · Palette generator →

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