#213FA4#213FA4

#213FA4 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.4% C 0.167 H 266.3°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#213FA4
RGBrgb(33, 63, 164)
HSLhsl(226, 66%, 39%)
HSVhsv(226, 80%, 64%)
CMYKcmyk(79.9%, 61.6%, 0%, 35.7%)
CIE-LABlab(30.78, 27.14, -57.52)
CIE-LCHlch(30.78, 63.60, 295.26°)
OKLaboklab(41.35% -0.0109 -0.1663)
OKLCHoklch(41.35% 0.167 266.3)
XYZxyz(9.1032, 6.5576, 35.9007)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213FA4 #A48621
analogous
#2180A4 #213FA4 #4521A4
triadic
#213FA4 #A4213F #3FA421
tetradic
#213FA4 #A42180 #A48621 #21A445
square
#213FA4 #A42180 #A48621 #21A445
split-complementary
#213FA4 #A44521 #80A421
monochromatic
#0C183E #172B71 #213FA4 #2D54D5 #607DDF

Accessibility & contrast

On white

9.08
#213FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#213FA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213FA4
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213FA4#FFFFFF#000000##FFFFFF
##213FA41.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#0042A2
Tritanopia (blue-blind)
#00596B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #213fa4;
/* rgb */ color: rgb(33, 63, 164);
/* oklch */ color: oklch(41.4% 0.167 266.3);
Tailwind
colors: {
  custom: {
    50: '#7373c0',
    500: '#213fa4',
    950: '#000000',
  },
}
SCSS
$custom: #213fa4;
$custom-light: #7373c0;
$custom-dark: #000000;
JSON
{
  "hex": "#213fa4",
  "rgb": {
    "r": 33,
    "g": 63,
    "b": 164
  },
  "hsl": {
    "h": 226.26,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41353,
    "c": 0.16668,
    "h": 266.3
  },
  "luminance": 0.06559
}

Semantic roles & 50–950 ramp

primary
#213FA4
secondary
#C4AC5D
accent
#C23EE9
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #213FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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