#213982#213982

#213982 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.2% C 0.127 H 266.5°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#213982
RGBrgb(33, 57, 130)
HSLhsl(225, 60%, 32%)
HSVhsv(225, 75%, 51%)
CMYKcmyk(74.6%, 56.2%, 0%, 49%)
CIE-LABlab(26.33, 17.91, -43.89)
CIE-LCHlch(26.33, 47.40, 292.20°)
OKLaboklab(37.15% -0.0078 -0.1264)
OKLCHoklch(37.15% 0.127 266.5)
XYZxyz(6.1182, 4.8607, 21.7305)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213982 #826A21
analogous
#216A82 #213982 #3A2182
triadic
#213982 #822139 #398221
tetradic
#213982 #82216A #826A21 #21823A
square
#213982 #82216A #826A21 #21823A
split-complementary
#213982 #823A21 #6A8221
monochromatic
#080E20 #152451 #213982 #2D4EB3 #4C6DD2

Accessibility & contrast

On white

10.65
#213982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#213982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213982
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213982#FFFFFF#000000##FFFFFF
##2139821.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004385
Deuteranopia (green-blind)
#003A81
Tritanopia (blue-blind)
#004B57
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #213982;
/* rgb */ color: rgb(33, 57, 130);
/* oklch */ color: oklch(37.2% 0.127 266.5);
Tailwind
colors: {
  custom: {
    50: '#6b6ea7',
    500: '#213982',
    950: '#000000',
  },
}
SCSS
$custom: #213982;
$custom-light: #6b6ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#213982",
  "rgb": {
    "r": 33,
    "g": 57,
    "b": 130
  },
  "hsl": {
    "h": 225.155,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37151,
    "c": 0.12662,
    "h": 266.5
  },
  "luminance": 0.04861
}

Semantic roles & 50–950 ramp

primary
#213982
secondary
#B49A4A
accent
#BC45E3
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #213982

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

Preview Lab → · Contrast checker → · Palette generator →

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