#213765#213765

#213765 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.4% C 0.085 H 263.3°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#213765
RGBrgb(33, 55, 101)
HSLhsl(221, 51%, 26%)
HSVhsv(221, 67%, 40%)
CMYKcmyk(67.3%, 45.5%, 0%, 60.4%)
CIE-LABlab(23.65, 7.81, -29.74)
CIE-LCHlch(23.65, 30.74, 284.71°)
OKLaboklab(34.44% -0.0099 -0.0848)
OKLCHoklch(34.44% 0.085 263.3)
XYZxyz(4.3415, 3.9949, 12.8517)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213765 #654F21
analogous
#215965 #213765 #2D2165
triadic
#213765 #652137 #376521
tetradic
#213765 #652159 #654F21 #21652D
square
#213765 #652159 #654F21 #21652D
split-complementary
#213765 #652D21 #596521
monochromatic
#080D17 #121E37 #213765 #305093 #4069C1

Accessibility & contrast

On white

11.67
#213765 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#213765 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213765
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213765#FFFFFF#000000##FFFFFF
##2137651.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223C67
Deuteranopia (green-blind)
#173564
Tritanopia (blue-blind)
#004149
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #213765;
/* rgb */ color: rgb(33, 55, 101);
/* oklch */ color: oklch(34.4% 0.085 263.3);
Tailwind
colors: {
  custom: {
    50: '#646d91',
    500: '#213765',
    950: '#000000',
  },
}
SCSS
$custom: #213765;
$custom-light: #646d91;
$custom-dark: #000000;
JSON
{
  "hex": "#213765",
  "rgb": {
    "r": 33,
    "g": 55,
    "b": 101
  },
  "hsl": {
    "h": 220.588,
    "s": 50.746,
    "l": 26.275
  },
  "oklch": {
    "l": 0.34444,
    "c": 0.08536,
    "h": 263.3
  },
  "luminance": 0.03995
}

Semantic roles & 50–950 ramp

primary
#213765
secondary
#997F49
accent
#AD4EDA
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06070D
muted
#7A7A7D

Preview Lab

Preview with #213765

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

Preview Lab → · Contrast checker → · Palette generator →

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