#213C87#213C87

#213C87 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.2% C 0.130 H 265.6°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#213C87
RGBrgb(33, 60, 135)
HSLhsl(224, 61%, 33%)
HSVhsv(224, 76%, 53%)
CMYKcmyk(75.6%, 55.6%, 0%, 47.1%)
CIE-LABlab(27.58, 17.81, -44.98)
CIE-LCHlch(27.58, 48.38, 291.60°)
OKLaboklab(38.22% -0.01 -0.1295)
OKLCHoklch(38.22% 0.13 265.6)
XYZxyz(6.6147, 5.3036, 23.5921)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213C87 #876C21
analogous
#216F87 #213C87 #392187
triadic
#213C87 #87213C #3C8721
tetradic
#213C87 #87216F #876C21 #218739
square
#213C87 #87216F #876C21 #218739
split-complementary
#213C87 #873921 #6F8721
monochromatic
#091025 #152656 #213C87 #2D52B8 #4F72D4

Accessibility & contrast

On white

10.19
#213C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213C87
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213C87#FFFFFF#000000##FFFFFF
##213C871.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01468A
Deuteranopia (green-blind)
#003D86
Tritanopia (blue-blind)
#004E5B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #213c87;
/* rgb */ color: rgb(33, 60, 135);
/* oklch */ color: oklch(38.2% 0.130 265.6);
Tailwind
colors: {
  custom: {
    50: '#6c71ab',
    500: '#213c87',
    950: '#000000',
  },
}
SCSS
$custom: #213c87;
$custom-light: #6c71ab;
$custom-dark: #000000;
JSON
{
  "hex": "#213c87",
  "rgb": {
    "r": 33,
    "g": 60,
    "b": 135
  },
  "hsl": {
    "h": 224.118,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38216,
    "c": 0.12993,
    "h": 265.6
  },
  "luminance": 0.05304
}

Semantic roles & 50–950 ramp

primary
#213C87
secondary
#B79B4D
accent
#BA44E4
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #213C87

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

Preview Lab → · Contrast checker → · Palette generator →

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