#213784#213784

#213784 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.9% C 0.132 H 267.4°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#213784
RGBrgb(33, 55, 132)
HSLhsl(227, 60%, 32%)
HSVhsv(227, 75%, 52%)
CMYKcmyk(75%, 58.3%, 0%, 48.2%)
CIE-LABlab(25.92, 20.10, -45.80)
CIE-LCHlch(25.92, 50.02, 293.69°)
OKLaboklab(36.89% -0.006 -0.132)
OKLCHoklch(36.89% 0.132 267.4)
XYZxyz(6.1568, 4.7210, 22.4121)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213784 #846E21
analogous
#216884 #213784 #3D2184
triadic
#213784 #842137 #378421
tetradic
#213784 #842168 #846E21 #21843D
square
#213784 #842168 #846E21 #21843D
split-complementary
#213784 #843D21 #688421
monochromatic
#090E22 #152353 #213784 #2D4BB5 #4D6BD2

Accessibility & contrast

On white

10.80
#213784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#213784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213784
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213784#FFFFFF#000000##FFFFFF
##2137841.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004287
Deuteranopia (green-blind)
#003982
Tritanopia (blue-blind)
#004A58
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #213784;
/* rgb */ color: rgb(33, 55, 132);
/* oklch */ color: oklch(36.9% 0.132 267.4);
Tailwind
colors: {
  custom: {
    50: '#6b6da8',
    500: '#213784',
    950: '#000000',
  },
}
SCSS
$custom: #213784;
$custom-light: #6b6da8;
$custom-dark: #000000;
JSON
{
  "hex": "#213784",
  "rgb": {
    "r": 33,
    "g": 55,
    "b": 132
  },
  "hsl": {
    "h": 226.667,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36893,
    "c": 0.13219,
    "h": 267.4
  },
  "luminance": 0.04722
}

Semantic roles & 50–950 ramp

primary
#213784
secondary
#B69E4B
accent
#C045E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #213784

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

Preview Lab → · Contrast checker → · Palette generator →

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