#213994#213994

#213994 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.7% C 0.152 H 267.3°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#213994
RGBrgb(33, 57, 148)
HSLhsl(227, 64%, 35%)
HSVhsv(227, 78%, 58%)
CMYKcmyk(77.7%, 61.5%, 0%, 42%)
CIE-LABlab(27.81, 24.99, -52.64)
CIE-LCHlch(27.81, 58.27, 295.40°)
OKLaboklab(38.72% -0.0071 -0.1521)
OKLCHoklch(38.72% 0.152 267.3)
XYZxyz(7.4338, 5.3869, 28.6592)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213994 #947C21
analogous
#217294 #213994 #422194
triadic
#213994 #942139 #399421
tetradic
#213994 #942172 #947C21 #219442
square
#213994 #942172 #947C21 #219442
split-complementary
#213994 #944221 #729421
monochromatic
#0B1230 #162662 #213994 #2C4CC6 #5671D9

Accessibility & contrast

On white

10.11
#213994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#213994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213994
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213994#FFFFFF#000000##FFFFFF
##2139941.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004797
Deuteranopia (green-blind)
#003C92
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #213994;
/* rgb */ color: rgb(33, 57, 148);
/* oklch */ color: oklch(38.7% 0.152 267.3);
Tailwind
colors: {
  custom: {
    50: '#6f6fb4',
    500: '#213994',
    950: '#000000',
  },
}
SCSS
$custom: #213994;
$custom-light: #6f6fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#213994",
  "rgb": {
    "r": 33,
    "g": 57,
    "b": 148
  },
  "hsl": {
    "h": 227.478,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38719,
    "c": 0.15226,
    "h": 267.3
  },
  "luminance": 0.05388
}

Semantic roles & 50–950 ramp

primary
#213994
secondary
#BDA754
accent
#C441E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #213994

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

Preview Lab → · Contrast checker → · Palette generator →

#213994 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva