#213BA0#213BA0

#213BA0 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.2% C 0.166 H 267.1°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#213BA0
RGBrgb(33, 59, 160)
HSLhsl(228, 66%, 38%)
HSVhsv(228, 79%, 63%)
CMYKcmyk(79.4%, 63.1%, 0%, 37.3%)
CIE-LABlab(29.38, 28.28, -57.38)
CIE-LCHlch(29.38, 63.97, 296.23°)
OKLaboklab(40.21% -0.0084 -0.166)
OKLCHoklch(40.21% 0.166 267.1)
XYZxyz(8.5341, 5.9884, 33.9570)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213BA0 #A08621
analogous
#217AA0 #213BA0 #4721A0
triadic
#213BA0 #A0213B #3BA021
tetradic
#213BA0 #A0217A #A08621 #21A047
square
#213BA0 #A0217A #A08621 #21A047
split-complementary
#213BA0 #A04721 #7AA021
monochromatic
#0C163B #17286D #213BA0 #2B4ED3 #5E78DE

Accessibility & contrast

On white

9.56
#213BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#213BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213BA0
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213BA0#FFFFFF#000000##FFFFFF
##213BA01.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA3
Deuteranopia (green-blind)
#003F9E
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #213ba0;
/* rgb */ color: rgb(33, 59, 160);
/* oklch */ color: oklch(40.2% 0.166 267.1);
Tailwind
colors: {
  custom: {
    50: '#7270bd',
    500: '#213ba0',
    950: '#000000',
  },
}
SCSS
$custom: #213ba0;
$custom-light: #7270bd;
$custom-dark: #000000;
JSON
{
  "hex": "#213ba0",
  "rgb": {
    "r": 33,
    "g": 59,
    "b": 160
  },
  "hsl": {
    "h": 227.717,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4021,
    "c": 0.16618,
    "h": 267.1
  },
  "luminance": 0.05989
}

Semantic roles & 50–950 ramp

primary
#213BA0
secondary
#C2AD5B
accent
#C63FE9
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #213BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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