#213D94#213D94

#213D94 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.5% C 0.147 H 266.1°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#213D94
RGBrgb(33, 61, 148)
HSLhsl(225, 64%, 35%)
HSVhsv(225, 78%, 58%)
CMYKcmyk(77.7%, 58.8%, 0%, 42%)
CIE-LABlab(28.90, 22.26, -50.87)
CIE-LCHlch(28.90, 55.52, 293.63°)
OKLaboklab(39.53% -0.0099 -0.1468)
OKLCHoklch(39.53% 0.147 266.1)
XYZxyz(7.6394, 5.7981, 28.7278)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213D94 #947821
analogous
#217694 #213D94 #3E2194
triadic
#213D94 #94213D #3D9421
tetradic
#213D94 #942176 #947821 #21943E
square
#213D94 #942176 #947821 #21943E
split-complementary
#213D94 #943E21 #769421
monochromatic
#0B1430 #162862 #213D94 #2C52C6 #5676D9

Accessibility & contrast

On white

9.72
#213D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#213D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213D94
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213D94#FFFFFF#000000##FFFFFF
##213D941.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A97
Deuteranopia (green-blind)
#003F92
Tritanopia (blue-blind)
#005362
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #213d94;
/* rgb */ color: rgb(33, 61, 148);
/* oklch */ color: oklch(39.5% 0.147 266.1);
Tailwind
colors: {
  custom: {
    50: '#6f72b4',
    500: '#213d94',
    950: '#000000',
  },
}
SCSS
$custom: #213d94;
$custom-light: #6f72b4;
$custom-dark: #000000;
JSON
{
  "hex": "#213d94",
  "rgb": {
    "r": 33,
    "g": 61,
    "b": 148
  },
  "hsl": {
    "h": 225.391,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39531,
    "c": 0.14717,
    "h": 266.1
  },
  "luminance": 0.05799
}

Semantic roles & 50–950 ramp

primary
#213D94
secondary
#BDA354
accent
#BE41E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #213D94

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

Preview Lab → · Contrast checker → · Palette generator →

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