#213782#213782

#213782 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.7% C 0.129 H 267.3°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#213782
RGBrgb(33, 55, 130)
HSLhsl(226, 60%, 32%)
HSVhsv(226, 75%, 51%)
CMYKcmyk(74.6%, 57.7%, 0%, 49%)
CIE-LABlab(25.76, 19.31, -44.81)
CIE-LCHlch(25.76, 48.80, 293.31°)
OKLaboklab(36.72% -0.0061 -0.1291)
OKLCHoklch(36.72% 0.129 267.3)
XYZxyz(6.0213, 4.6668, 21.6982)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213782 #826C21
analogous
#216882 #213782 #3C2182
triadic
#213782 #822137 #378221
tetradic
#213782 #822168 #826C21 #21823C
square
#213782 #822168 #826C21 #21823C
split-complementary
#213782 #823C21 #688221
monochromatic
#080E20 #152251 #213782 #2D4CB3 #4C6AD2

Accessibility & contrast

On white

10.86
#213782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#213782 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213782
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213782#FFFFFF#000000##FFFFFF
##2137821.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004285
Deuteranopia (green-blind)
#003981
Tritanopia (blue-blind)
#004957
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #213782;
/* rgb */ color: rgb(33, 55, 130);
/* oklch */ color: oklch(36.7% 0.129 267.3);
Tailwind
colors: {
  custom: {
    50: '#6b6da7',
    500: '#213782',
    950: '#000000',
  },
}
SCSS
$custom: #213782;
$custom-light: #6b6da7;
$custom-dark: #000000;
JSON
{
  "hex": "#213782",
  "rgb": {
    "r": 33,
    "g": 55,
    "b": 130
  },
  "hsl": {
    "h": 226.392,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36721,
    "c": 0.12929,
    "h": 267.3
  },
  "luminance": 0.04667
}

Semantic roles & 50–950 ramp

primary
#213782
secondary
#B49C4A
accent
#BF45E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #213782

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

Preview Lab → · Contrast checker → · Palette generator →

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