#213882#213882

#213882 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 36.9% C 0.128 H 266.9°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#213882
RGBrgb(33, 56, 130)
HSLhsl(226, 60%, 32%)
HSVhsv(226, 75%, 51%)
CMYKcmyk(74.6%, 56.9%, 0%, 49%)
CIE-LABlab(26.05, 18.61, -44.35)
CIE-LCHlch(26.05, 48.10, 292.76°)
OKLaboklab(36.94% -0.007 -0.1278)
OKLCHoklch(36.94% 0.128 266.9)
XYZxyz(6.0692, 4.7627, 21.7142)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213882 #826B21
analogous
#216982 #213882 #3B2182
triadic
#213882 #822138 #388221
tetradic
#213882 #822169 #826B21 #21823B
square
#213882 #822169 #826B21 #21823B
split-complementary
#213882 #823B21 #698221
monochromatic
#080E20 #152351 #213882 #2D4DB3 #4C6CD2

Accessibility & contrast

On white

10.75
#213882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#213882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213882
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213882#FFFFFF#000000##FFFFFF
##2138821.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004285
Deuteranopia (green-blind)
#003981
Tritanopia (blue-blind)
#004A57
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #213882;
/* rgb */ color: rgb(33, 56, 130);
/* oklch */ color: oklch(36.9% 0.128 266.9);
Tailwind
colors: {
  custom: {
    50: '#6b6ea7',
    500: '#213882',
    950: '#000000',
  },
}
SCSS
$custom: #213882;
$custom-light: #6b6ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#213882",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 130
  },
  "hsl": {
    "h": 225.773,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36935,
    "c": 0.12795,
    "h": 266.9
  },
  "luminance": 0.04763
}

Semantic roles & 50–950 ramp

primary
#213882
secondary
#B49B4A
accent
#BD45E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #213882

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

Preview Lab → · Contrast checker → · Palette generator →

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