#213684#213684

#213684 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.7% C 0.134 H 267.8°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#213684
RGBrgb(33, 54, 132)
HSLhsl(227, 60%, 32%)
HSVhsv(227, 75%, 52%)
CMYKcmyk(75%, 59.1%, 0%, 48.2%)
CIE-LABlab(25.64, 20.79, -46.26)
CIE-LCHlch(25.64, 50.72, 294.20°)
OKLaboklab(36.68% -0.0052 -0.1334)
OKLCHoklch(36.68% 0.134 267.8)
XYZxyz(6.1098, 4.6270, 22.3964)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213684 #846F21
analogous
#216784 #213684 #3E2184
triadic
#213684 #842136 #368421
tetradic
#213684 #842167 #846F21 #21843E
square
#213684 #842167 #846F21 #21843E
split-complementary
#213684 #843E21 #678421
monochromatic
#090E22 #152253 #213684 #2D4AB5 #4D69D2

Accessibility & contrast

On white

10.91
#213684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213684
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213684#FFFFFF#000000##FFFFFF
##2136841.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #213684;
/* rgb */ color: rgb(33, 54, 132);
/* oklch */ color: oklch(36.7% 0.134 267.8);
Tailwind
colors: {
  custom: {
    50: '#6b6ca8',
    500: '#213684',
    950: '#000000',
  },
}
SCSS
$custom: #213684;
$custom-light: #6b6ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#213684",
  "rgb": {
    "r": 33,
    "g": 54,
    "b": 132
  },
  "hsl": {
    "h": 227.273,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36683,
    "c": 0.1335,
    "h": 267.8
  },
  "luminance": 0.04628
}

Semantic roles & 50–950 ramp

primary
#213684
secondary
#B69F4B
accent
#C245E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #213684

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

Preview Lab → · Contrast checker → · Palette generator →

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