#213864#213864

#213864 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.6% C 0.082 H 262.1°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#213864
RGBrgb(33, 56, 100)
HSLhsl(219, 50%, 26%)
HSVhsv(219, 67%, 39%)
CMYKcmyk(67%, 44%, 0%, 60.8%)
CIE-LABlab(23.91, 6.71, -28.69)
CIE-LCHlch(23.91, 29.46, 283.17°)
OKLaboklab(34.62% -0.0113 -0.0817)
OKLCHoklch(34.62% 0.082 262.1)
XYZxyz(4.3408, 4.0714, 12.6112)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213864 #644D21
analogous
#215964 #213864 #2B2164
triadic
#213864 #642138 #386421
tetradic
#213864 #642159 #644D21 #21642B
square
#213864 #642159 #644D21 #21642B
split-complementary
#213864 #642B21 #596421
monochromatic
#080D17 #121E36 #213864 #305292 #406CC0

Accessibility & contrast

On white

11.57
#213864 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#213864 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213864
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213864#FFFFFF#000000##FFFFFF
##2138641.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243C66
Deuteranopia (green-blind)
#1A3663
Tritanopia (blue-blind)
#004249
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #213864;
/* rgb */ color: rgb(33, 56, 100);
/* oklch */ color: oklch(34.6% 0.082 262.1);
Tailwind
colors: {
  custom: {
    50: '#646e90',
    500: '#213864',
    950: '#000000',
  },
}
SCSS
$custom: #213864;
$custom-light: #646e90;
$custom-dark: #000000;
JSON
{
  "hex": "#213864",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 100
  },
  "hsl": {
    "h": 219.403,
    "s": 50.376,
    "l": 26.078
  },
  "oklch": {
    "l": 0.34617,
    "c": 0.08247,
    "h": 262.1
  },
  "luminance": 0.04072
}

Semantic roles & 50–950 ramp

primary
#213864
secondary
#987D49
accent
#AA4EDA
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #213864

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

Preview Lab → · Contrast checker → · Palette generator →

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