#213E94#213E94

#213E94 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.7% C 0.146 H 265.8°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#213E94
RGBrgb(33, 62, 148)
HSLhsl(225, 64%, 35%)
HSVhsv(225, 78%, 58%)
CMYKcmyk(77.7%, 58.1%, 0%, 42%)
CIE-LABlab(29.17, 21.57, -50.42)
CIE-LCHlch(29.17, 54.84, 293.16°)
OKLaboklab(39.74% -0.0107 -0.1455)
OKLCHoklch(39.74% 0.146 265.8)
XYZxyz(7.6932, 5.9058, 28.7457)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213E94 #947721
analogous
#217794 #213E94 #3E2194
triadic
#213E94 #94213E #3E9421
tetradic
#213E94 #942177 #947721 #21943E
square
#213E94 #942177 #947721 #21943E
split-complementary
#213E94 #943E21 #779421
monochromatic
#0B1430 #162962 #213E94 #2C53C6 #5677D9

Accessibility & contrast

On white

9.63
#213E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#213E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213E94
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213E94#FFFFFF#000000##FFFFFF
##213E941.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A97
Deuteranopia (green-blind)
#004092
Tritanopia (blue-blind)
#005362
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #213e94;
/* rgb */ color: rgb(33, 62, 148);
/* oklch */ color: oklch(39.7% 0.146 265.8);
Tailwind
colors: {
  custom: {
    50: '#6f72b4',
    500: '#213e94',
    950: '#000000',
  },
}
SCSS
$custom: #213e94;
$custom-light: #6f72b4;
$custom-dark: #000000;
JSON
{
  "hex": "#213e94",
  "rgb": {
    "r": 33,
    "g": 62,
    "b": 148
  },
  "hsl": {
    "h": 224.87,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39738,
    "c": 0.14588,
    "h": 265.8
  },
  "luminance": 0.05907
}

Semantic roles & 50–950 ramp

primary
#213E94
secondary
#BDA354
accent
#BD41E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #213E94

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

Preview Lab → · Contrast checker → · Palette generator →

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