#213865#213865

#213865 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.7% C 0.084 H 262.5°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#213865
RGBrgb(33, 56, 101)
HSLhsl(220, 51%, 26%)
HSVhsv(220, 67%, 40%)
CMYKcmyk(67.3%, 44.6%, 0%, 60.4%)
CIE-LABlab(23.97, 7.11, -29.23)
CIE-LCHlch(23.97, 30.08, 283.66°)
OKLaboklab(34.69% -0.011 -0.0833)
OKLCHoklch(34.69% 0.084 262.5)
XYZxyz(4.3895, 4.0909, 12.8677)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213865 #654E21
analogous
#215A65 #213865 #2C2165
triadic
#213865 #652138 #386521
tetradic
#213865 #65215A #654E21 #21652C
square
#213865 #65215A #654E21 #21652C
split-complementary
#213865 #652C21 #5A6521
monochromatic
#080D17 #121E37 #213865 #305293 #406BC1

Accessibility & contrast

On white

11.55
#213865 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#213865 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213865
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213865#FFFFFF#000000##FFFFFF
##2138651.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243C67
Deuteranopia (green-blind)
#193664
Tritanopia (blue-blind)
#004249
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #213865;
/* rgb */ color: rgb(33, 56, 101);
/* oklch */ color: oklch(34.7% 0.084 262.5);
Tailwind
colors: {
  custom: {
    50: '#646e91',
    500: '#213865',
    950: '#000000',
  },
}
SCSS
$custom: #213865;
$custom-light: #646e91;
$custom-dark: #000000;
JSON
{
  "hex": "#213865",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 101
  },
  "hsl": {
    "h": 219.706,
    "s": 50.746,
    "l": 26.275
  },
  "oklch": {
    "l": 0.34687,
    "c": 0.08403,
    "h": 262.5
  },
  "luminance": 0.04091
}

Semantic roles & 50–950 ramp

primary
#213865
secondary
#997E49
accent
#AB4EDA
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06070D
muted
#7A7A7D

Preview Lab

Preview with #213865

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

Preview Lab → · Contrast checker → · Palette generator →

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