#213C8B#213C8B

#213C8B is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.6% C 0.136 H 265.9°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#213C8B
RGBrgb(33, 60, 139)
HSLhsl(225, 62%, 34%)
HSVhsv(225, 76%, 55%)
CMYKcmyk(76.3%, 56.8%, 0%, 45.5%)
CIE-LABlab(27.89, 19.39, -46.96)
CIE-LCHlch(27.89, 50.80, 292.44°)
OKLaboklab(38.55% -0.0097 -0.1353)
OKLCHoklch(38.55% 0.136 265.9)
XYZxyz(6.9016, 5.4184, 25.1032)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213C8B #8B7021
analogous
#21718B #213C8B #3B218B
triadic
#213C8B #8B213C #3C8B21
tetradic
#213C8B #8B2171 #8B7021 #218B3B
square
#213C8B #8B2171 #8B7021 #218B3B
split-complementary
#213C8B #8B3B21 #718B21
monochromatic
#0A1128 #15275A #213C8B #2D51BC #5173D6

Accessibility & contrast

On white

10.08
#213C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#213C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213C8B
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213C8B#FFFFFF#000000##FFFFFF
##213C8B1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#003D89
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #213c8b;
/* rgb */ color: rgb(33, 60, 139);
/* oklch */ color: oklch(38.6% 0.136 265.9);
Tailwind
colors: {
  custom: {
    50: '#6d71ae',
    500: '#213c8b',
    950: '#000000',
  },
}
SCSS
$custom: #213c8b;
$custom-light: #6d71ae;
$custom-dark: #000000;
JSON
{
  "hex": "#213c8b",
  "rgb": {
    "r": 33,
    "g": 60,
    "b": 139
  },
  "hsl": {
    "h": 224.717,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38551,
    "c": 0.13569,
    "h": 265.9
  },
  "luminance": 0.05419
}

Semantic roles & 50–950 ramp

primary
#213C8B
secondary
#B99E4F
accent
#BC43E5
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #213C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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