#213F93#213F93

#213F93 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.9% C 0.143 H 265.4°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#213F93
RGBrgb(33, 63, 147)
HSLhsl(224, 63%, 35%)
HSVhsv(224, 78%, 58%)
CMYKcmyk(77.6%, 57.1%, 0%, 42.4%)
CIE-LABlab(29.37, 20.49, -49.48)
CIE-LCHlch(29.37, 53.56, 292.49°)
OKLaboklab(39.86% -0.0115 -0.1427)
OKLCHoklch(39.86% 0.143 265.4)
XYZxyz(7.6693, 5.9841, 28.3490)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213F93 #937521
analogous
#217893 #213F93 #3C2193
triadic
#213F93 #93213F #3F9321
tetradic
#213F93 #932178 #937521 #21933C
square
#213F93 #932178 #937521 #21933C
split-complementary
#213F93 #933C21 #789321
monochromatic
#0B142F #162A61 #213F93 #2C54C5 #5578D9

Accessibility & contrast

On white

9.56
#213F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#213F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213F93
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213F93#FFFFFF#000000##FFFFFF
##213F931.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B96
Deuteranopia (green-blind)
#004091
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #213f93;
/* rgb */ color: rgb(33, 63, 147);
/* oklch */ color: oklch(39.9% 0.143 265.4);
Tailwind
colors: {
  custom: {
    50: '#6e73b3',
    500: '#213f93',
    950: '#000000',
  },
}
SCSS
$custom: #213f93;
$custom-light: #6e73b3;
$custom-dark: #000000;
JSON
{
  "hex": "#213f93",
  "rgb": {
    "r": 33,
    "g": 63,
    "b": 147
  },
  "hsl": {
    "h": 224.211,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39862,
    "c": 0.14318,
    "h": 265.4
  },
  "luminance": 0.05985
}

Semantic roles & 50–950 ramp

primary
#213F93
secondary
#BDA153
accent
#BB41E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #213F93

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

Preview Lab → · Contrast checker → · Palette generator →

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