#213FA1#213FA1

#213FA1 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.163 H 266.1°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#213FA1
RGBrgb(33, 63, 161)
HSLhsl(226, 66%, 38%)
HSVhsv(226, 80%, 63%)
CMYKcmyk(79.5%, 60.9%, 0%, 36.9%)
CIE-LABlab(30.52, 25.98, -56.13)
CIE-LCHlch(30.52, 61.85, 294.83°)
OKLaboklab(41.08% -0.0109 -0.1622)
OKLCHoklch(41.08% 0.163 266.1)
XYZxyz(8.8355, 6.4505, 34.4907)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213FA1 #A18321
analogous
#217FA1 #213FA1 #4321A1
triadic
#213FA1 #A1213F #3FA121
tetradic
#213FA1 #A1217F #A18321 #21A143
square
#213FA1 #A1217F #A18321 #21A143
split-complementary
#213FA1 #A14321 #7FA121
monochromatic
#0C173B #172B6E #213FA1 #2C53D4 #5E7CDE

Accessibility & contrast

On white

9.17
#213FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#213FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213FA1
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213FA1#FFFFFF#000000##FFFFFF
##213FA11.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#00429F
Tritanopia (blue-blind)
#00586A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #213fa1;
/* rgb */ color: rgb(33, 63, 161);
/* oklch */ color: oklch(41.1% 0.163 266.1);
Tailwind
colors: {
  custom: {
    50: '#7273be',
    500: '#213fa1',
    950: '#000000',
  },
}
SCSS
$custom: #213fa1;
$custom-light: #7273be;
$custom-dark: #000000;
JSON
{
  "hex": "#213fa1",
  "rgb": {
    "r": 33,
    "g": 63,
    "b": 161
  },
  "hsl": {
    "h": 225.938,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41083,
    "c": 0.16261,
    "h": 266.1
  },
  "luminance": 0.06452
}

Semantic roles & 50–950 ramp

primary
#213FA1
secondary
#C3AA5B
accent
#C13FE9
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #213FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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