#213964#213964

#213964 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 34.9% C 0.081 H 261.2°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#213964
RGBrgb(33, 57, 100)
HSLhsl(219, 50%, 26%)
HSVhsv(219, 67%, 39%)
CMYKcmyk(67%, 43%, 0%, 60.8%)
CIE-LABlab(24.22, 6.02, -28.18)
CIE-LCHlch(24.22, 28.82, 282.05°)
OKLaboklab(34.86% -0.0124 -0.0802)
OKLCHoklch(34.86% 0.081 261.2)
XYZxyz(4.3898, 4.1693, 12.6275)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213964 #644C21
analogous
#215A64 #213964 #2A2164
triadic
#213964 #642139 #396421
tetradic
#213964 #64215A #644C21 #21642A
square
#213964 #64215A #644C21 #21642A
split-complementary
#213964 #642A21 #5A6421
monochromatic
#080D17 #121F36 #213964 #305392 #406EC0

Accessibility & contrast

On white

11.45
#213964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#213964 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213964
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213964#FFFFFF#000000##FFFFFF
##2139641.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263D66
Deuteranopia (green-blind)
#1C3763
Tritanopia (blue-blind)
#004349
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #213964;
/* rgb */ color: rgb(33, 57, 100);
/* oklch */ color: oklch(34.9% 0.081 261.2);
Tailwind
colors: {
  custom: {
    50: '#646f90',
    500: '#213964',
    950: '#000000',
  },
}
SCSS
$custom: #213964;
$custom-light: #646f90;
$custom-dark: #000000;
JSON
{
  "hex": "#213964",
  "rgb": {
    "r": 33,
    "g": 57,
    "b": 100
  },
  "hsl": {
    "h": 218.507,
    "s": 50.376,
    "l": 26.078
  },
  "oklch": {
    "l": 0.34862,
    "c": 0.08116,
    "h": 261.2
  },
  "luminance": 0.0417
}

Semantic roles & 50–950 ramp

primary
#213964
secondary
#987C49
accent
#A84EDA
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #213964

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

Preview Lab → · Contrast checker → · Palette generator →

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