#213B8A#213B8A

#213B8A is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.3% C 0.136 H 266.2°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#213B8A
RGBrgb(33, 59, 138)
HSLhsl(225, 61%, 34%)
HSVhsv(225, 76%, 54%)
CMYKcmyk(76.1%, 57.2%, 0%, 45.9%)
CIE-LABlab(27.53, 19.69, -46.92)
CIE-LCHlch(27.53, 50.89, 292.76°)
OKLaboklab(38.25% -0.0089 -0.1353)
OKLCHoklch(38.25% 0.136 266.2)
XYZxyz(6.7770, 5.2855, 24.7029)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213B8A #8A7021
analogous
#216F8A #213B8A #3B218A
triadic
#213B8A #8A213B #3B8A21
tetradic
#213B8A #8A216F #8A7021 #218A3B
square
#213B8A #8A216F #8A7021 #218A3B
split-complementary
#213B8A #8A3B21 #6F8A21
monochromatic
#091127 #152659 #213B8A #2D50BB #5071D5

Accessibility & contrast

On white

10.21
#213B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#213B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213B8A
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213B8A#FFFFFF#000000##FFFFFF
##213B8A1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#003C88
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #213b8a;
/* rgb */ color: rgb(33, 59, 138);
/* oklch */ color: oklch(38.3% 0.136 266.2);
Tailwind
colors: {
  custom: {
    50: '#6c70ad',
    500: '#213b8a',
    950: '#000000',
  },
}
SCSS
$custom: #213b8a;
$custom-light: #6c70ad;
$custom-dark: #000000;
JSON
{
  "hex": "#213b8a",
  "rgb": {
    "r": 33,
    "g": 59,
    "b": 138
  },
  "hsl": {
    "h": 225.143,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38253,
    "c": 0.13556,
    "h": 266.2
  },
  "luminance": 0.05286
}

Semantic roles & 50–950 ramp

primary
#213B8A
secondary
#B99E4E
accent
#BD43E5
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #213B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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