#213C9A#213C9A

#213C9A is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.157 H 266.7°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#213C9A
RGBrgb(33, 60, 154)
HSLhsl(227, 65%, 37%)
HSVhsv(227, 79%, 60%)
CMYKcmyk(78.6%, 61%, 0%, 39.6%)
CIE-LABlab(29.13, 25.29, -54.16)
CIE-LCHlch(29.13, 59.77, 295.03°)
OKLaboklab(39.86% -0.0091 -0.1565)
OKLCHoklch(39.86% 0.157 266.7)
XYZxyz(8.0738, 5.8872, 31.2764)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213C9A #9A7F21
analogous
#21799A #213C9A #43219A
triadic
#213C9A #9A213C #3C9A21
tetradic
#213C9A #9A2179 #9A7F21 #219A43
square
#213C9A #9A2179 #9A7F21 #219A43
split-complementary
#213C9A #9A4321 #799A21
monochromatic
#0B1535 #162868 #213C9A #2C50CC #5A77DC

Accessibility & contrast

On white

9.64
#213C9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#213C9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213C9A
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213C9A#FFFFFF#000000##FFFFFF
##213C9A1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9D
Deuteranopia (green-blind)
#003F98
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #213c9a;
/* rgb */ color: rgb(33, 60, 154);
/* oklch */ color: oklch(39.9% 0.157 266.7);
Tailwind
colors: {
  custom: {
    50: '#7071b9',
    500: '#213c9a',
    950: '#000000',
  },
}
SCSS
$custom: #213c9a;
$custom-light: #7071b9;
$custom-dark: #000000;
JSON
{
  "hex": "#213c9a",
  "rgb": {
    "r": 33,
    "g": 60,
    "b": 154
  },
  "hsl": {
    "h": 226.612,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39858,
    "c": 0.15677,
    "h": 266.7
  },
  "luminance": 0.05888
}

Semantic roles & 50–950 ramp

primary
#213C9A
secondary
#C0A857
accent
#C240E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #213C9A

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

Preview Lab → · Contrast checker → · Palette generator →

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