#213D93#213D93

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

Color values

HEX#213D93
RGBrgb(33, 61, 147)
HSLhsl(225, 63%, 35%)
HSVhsv(225, 78%, 58%)
CMYKcmyk(77.6%, 58.5%, 0%, 42.4%)
CIE-LABlab(28.82, 21.86, -50.39)
CIE-LCHlch(28.82, 54.93, 293.46°)
OKLaboklab(39.44% -0.01 -0.1454)
OKLCHoklch(39.44% 0.146 266.1)
XYZxyz(7.5606, 5.7666, 28.3127)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213D93 #937721
analogous
#217693 #213D93 #3E2193
triadic
#213D93 #93213D #3D9321
tetradic
#213D93 #932176 #937721 #21933E
square
#213D93 #932176 #937721 #21933E
split-complementary
#213D93 #933E21 #769321
monochromatic
#0B142F #162861 #213D93 #2C52C5 #5576D9

Accessibility & contrast

On white

9.75
#213D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#213D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213D93
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213D93#FFFFFF#000000##FFFFFF
##213D931.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004996
Deuteranopia (green-blind)
#003F91
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #213d93;
/* rgb */ color: rgb(33, 61, 147);
/* oklch */ color: oklch(39.4% 0.146 266.1);
Tailwind
colors: {
  custom: {
    50: '#6e72b3',
    500: '#213d93',
    950: '#000000',
  },
}
SCSS
$custom: #213d93;
$custom-light: #6e72b3;
$custom-dark: #000000;
JSON
{
  "hex": "#213d93",
  "rgb": {
    "r": 33,
    "g": 61,
    "b": 147
  },
  "hsl": {
    "h": 225.263,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39444,
    "c": 0.14576,
    "h": 266.1
  },
  "luminance": 0.05767
}

Semantic roles & 50–950 ramp

primary
#213D93
secondary
#BDA353
accent
#BE41E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #213D93

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

Preview Lab → · Contrast checker → · Palette generator →

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