#213664#213664

#213664 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.1% C 0.085 H 264.0°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#213664
RGBrgb(33, 54, 100)
HSLhsl(221, 50%, 26%)
HSVhsv(221, 67%, 39%)
CMYKcmyk(67%, 46%, 0%, 60.8%)
CIE-LABlab(23.28, 8.12, -29.69)
CIE-LCHlch(23.28, 30.78, 285.29°)
OKLaboklab(34.13% -0.0089 -0.0847)
OKLCHoklch(34.13% 0.085 264)
XYZxyz(4.2458, 3.8814, 12.5796)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213664 #644F21
analogous
#215764 #213664 #2D2164
triadic
#213664 #642136 #366421
tetradic
#213664 #642157 #644F21 #21642D
square
#213664 #642157 #644F21 #21642D
split-complementary
#213664 #642D21 #576421
monochromatic
#080C17 #121D36 #213664 #304F92 #4068C0

Accessibility & contrast

On white

11.82
#213664 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#213664 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213664
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213664#FFFFFF#000000##FFFFFF
##2136641.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213B66
Deuteranopia (green-blind)
#163563
Tritanopia (blue-blind)
#004048
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #213664;
/* rgb */ color: rgb(33, 54, 100);
/* oklch */ color: oklch(34.1% 0.085 264.0);
Tailwind
colors: {
  custom: {
    50: '#646c90',
    500: '#213664',
    950: '#000000',
  },
}
SCSS
$custom: #213664;
$custom-light: #646c90;
$custom-dark: #000000;
JSON
{
  "hex": "#213664",
  "rgb": {
    "r": 33,
    "g": 54,
    "b": 100
  },
  "hsl": {
    "h": 221.194,
    "s": 50.376,
    "l": 26.078
  },
  "oklch": {
    "l": 0.34131,
    "c": 0.08515,
    "h": 264
  },
  "luminance": 0.03882
}

Semantic roles & 50–950 ramp

primary
#213664
secondary
#987F49
accent
#AE4EDA
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #213664

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

Preview Lab → · Contrast checker → · Palette generator →

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