#213766#213766

#213766 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.5% C 0.087 H 263.6°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#213766
RGBrgb(33, 55, 102)
HSLhsl(221, 51%, 26%)
HSVhsv(221, 68%, 40%)
CMYKcmyk(67.6%, 46.1%, 0%, 60%)
CIE-LABlab(23.72, 8.20, -30.28)
CIE-LCHlch(23.72, 31.37, 285.15°)
OKLaboklab(34.52% -0.0097 -0.0864)
OKLCHoklch(34.52% 0.087 263.6)
XYZxyz(4.3908, 4.0146, 13.1113)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213766 #665021
analogous
#215A66 #213766 #2E2166
triadic
#213766 #662137 #376621
tetradic
#213766 #66215A #665021 #21662E
square
#213766 #66215A #665021 #21662E
split-complementary
#213766 #662E21 #5A6621
monochromatic
#070C17 #121E38 #213766 #305094 #4069C1

Accessibility & contrast

On white

11.65
#213766 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213766
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213766#FFFFFF#000000##FFFFFF
##2137661.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213C68
Deuteranopia (green-blind)
#163665
Tritanopia (blue-blind)
#004249
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #213766;
/* rgb */ color: rgb(33, 55, 102);
/* oklch */ color: oklch(34.5% 0.087 263.6);
Tailwind
colors: {
  custom: {
    50: '#646d92',
    500: '#213766',
    950: '#000000',
  },
}
SCSS
$custom: #213766;
$custom-light: #646d92;
$custom-dark: #000000;
JSON
{
  "hex": "#213766",
  "rgb": {
    "r": 33,
    "g": 55,
    "b": 102
  },
  "hsl": {
    "h": 220.87,
    "s": 51.111,
    "l": 26.471
  },
  "oklch": {
    "l": 0.34515,
    "c": 0.08693,
    "h": 263.6
  },
  "luminance": 0.04015
}

Semantic roles & 50–950 ramp

primary
#213766
secondary
#9A8049
accent
#AE4DDB
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #213766

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

Preview Lab → · Contrast checker → · Palette generator →

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