#213C8F#213C8F

#213C8F is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.9% C 0.141 H 266.2°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#213C8F
RGBrgb(33, 60, 143)
HSLhsl(225, 63%, 35%)
HSVhsv(225, 77%, 56%)
CMYKcmyk(76.9%, 58%, 0%, 43.9%)
CIE-LABlab(28.21, 20.98, -48.91)
CIE-LCHlch(28.21, 53.21, 293.21°)
OKLaboklab(38.89% -0.0094 -0.1411)
OKLCHoklch(38.89% 0.141 266.2)
XYZxyz(7.1992, 5.5374, 26.6707)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213C8F #8F7421
analogous
#21738F #213C8F #3D218F
triadic
#213C8F #8F213C #3C8F21
tetradic
#213C8F #8F2173 #8F7421 #218F3D
square
#213C8F #8F2173 #8F7421 #218F3D
split-complementary
#213C8F #8F3D21 #738F21
monochromatic
#0A122C #16275D #213C8F #2C51C1 #5374D7

Accessibility & contrast

On white

9.96
#213C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#213C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213C8F
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213C8F#FFFFFF#000000##FFFFFF
##213C8F1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#003E8D
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #213c8f;
/* rgb */ color: rgb(33, 60, 143);
/* oklch */ color: oklch(38.9% 0.141 266.2);
Tailwind
colors: {
  custom: {
    50: '#6e71b0',
    500: '#213c8f',
    950: '#000000',
  },
}
SCSS
$custom: #213c8f;
$custom-light: #6e71b0;
$custom-dark: #000000;
JSON
{
  "hex": "#213c8f",
  "rgb": {
    "r": 33,
    "g": 60,
    "b": 143
  },
  "hsl": {
    "h": 225.273,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38891,
    "c": 0.1414,
    "h": 266.2
  },
  "luminance": 0.05538
}

Semantic roles & 50–950 ramp

primary
#213C8F
secondary
#BBA151
accent
#BD42E6
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080711
muted
#7B7A80

Preview Lab

Preview with #213C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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