#213FA7#213FA7

#213FA7 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.6% C 0.171 H 266.3°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#213FA7
RGBrgb(33, 63, 167)
HSLhsl(227, 67%, 39%)
HSVhsv(227, 80%, 65%)
CMYKcmyk(80.2%, 62.3%, 0%, 34.5%)
CIE-LABlab(31.04, 28.29, -58.90)
CIE-LCHlch(31.04, 65.34, 295.66°)
OKLaboklab(41.63% -0.0109 -0.1704)
OKLCHoklch(41.63% 0.171 266.3)
XYZxyz(9.3773, 6.6673, 37.3444)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213FA7 #A78921
analogous
#2182A7 #213FA7 #4621A7
triadic
#213FA7 #A7213F #3FA721
tetradic
#213FA7 #A72182 #A78921 #21A746
square
#213FA7 #A72182 #A78921 #21A746
split-complementary
#213FA7 #A74621 #82A721
monochromatic
#0D1841 #172C74 #213FA7 #2F55D6 #627EE0

Accessibility & contrast

On white

9.00
#213FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#213FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213FA7
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213FA7#FFFFFF#000000##FFFFFF
##213FA71.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAA
Deuteranopia (green-blind)
#0043A5
Tritanopia (blue-blind)
#005A6D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #213fa7;
/* rgb */ color: rgb(33, 63, 167);
/* oklch */ color: oklch(41.6% 0.171 266.3);
Tailwind
colors: {
  custom: {
    50: '#7373c2',
    500: '#213fa7',
    950: '#000000',
  },
}
SCSS
$custom: #213fa7;
$custom-light: #7373c2;
$custom-dark: #000000;
JSON
{
  "hex": "#213fa7",
  "rgb": {
    "r": 33,
    "g": 63,
    "b": 167
  },
  "hsl": {
    "h": 226.567,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41626,
    "c": 0.17072,
    "h": 266.3
  },
  "luminance": 0.06668
}

Semantic roles & 50–950 ramp

primary
#213FA7
secondary
#C5AE5F
accent
#C33EEA
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #213FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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