#213682#213682

#213682 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.5% C 0.131 H 267.7°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#213682
RGBrgb(33, 54, 130)
HSLhsl(227, 60%, 32%)
HSVhsv(227, 75%, 51%)
CMYKcmyk(74.6%, 58.5%, 0%, 49%)
CIE-LABlab(25.48, 20.00, -45.27)
CIE-LCHlch(25.48, 49.50, 293.84°)
OKLaboklab(36.51% -0.0053 -0.1305)
OKLCHoklch(36.51% 0.131 267.7)
XYZxyz(5.9742, 4.5727, 21.6825)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213682 #826D21
analogous
#216782 #213682 #3C2182
triadic
#213682 #822136 #368221
tetradic
#213682 #822167 #826D21 #21823C
square
#213682 #822167 #826D21 #21823C
split-complementary
#213682 #823C21 #678221
monochromatic
#080D20 #152251 #213682 #2D4AB3 #4C69D2

Accessibility & contrast

On white

10.97
#213682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#213682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213682
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213682#FFFFFF#000000##FFFFFF
##2136821.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004185
Deuteranopia (green-blind)
#003880
Tritanopia (blue-blind)
#004956
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #213682;
/* rgb */ color: rgb(33, 54, 130);
/* oklch */ color: oklch(36.5% 0.131 267.7);
Tailwind
colors: {
  custom: {
    50: '#6b6ca7',
    500: '#213682',
    950: '#000000',
  },
}
SCSS
$custom: #213682;
$custom-light: #6b6ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#213682",
  "rgb": {
    "r": 33,
    "g": 54,
    "b": 130
  },
  "hsl": {
    "h": 227.01,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36509,
    "c": 0.13061,
    "h": 267.7
  },
  "luminance": 0.04573
}

Semantic roles & 50–950 ramp

primary
#213682
secondary
#B49D4A
accent
#C145E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #213682

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

Preview Lab → · Contrast checker → · Palette generator →

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