#213384#213384

#213384 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.1% C 0.137 H 268.8°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#213384
RGBrgb(33, 51, 132)
HSLhsl(229, 60%, 32%)
HSVhsv(229, 75%, 52%)
CMYKcmyk(75%, 61.4%, 0%, 48.2%)
CIE-LABlab(24.82, 22.87, -47.61)
CIE-LCHlch(24.82, 52.82, 295.66°)
OKLaboklab(36.07% -0.0028 -0.1374)
OKLCHoklch(36.07% 0.137 268.8)
XYZxyz(5.9744, 4.3563, 22.3513)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213384 #847221
analogous
#216584 #213384 #412184
triadic
#213384 #842133 #338421
tetradic
#213384 #842165 #847221 #218441
square
#213384 #842165 #847221 #218441
split-complementary
#213384 #844121 #658421
monochromatic
#090D22 #152053 #213384 #2D46B5 #4D65D2

Accessibility & contrast

On white

11.22
#213384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#213384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213384
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213384#FFFFFF#000000##FFFFFF
##2133841.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004087
Deuteranopia (green-blind)
#003682
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #213384;
/* rgb */ color: rgb(33, 51, 132);
/* oklch */ color: oklch(36.1% 0.137 268.8);
Tailwind
colors: {
  custom: {
    50: '#6b6aa8',
    500: '#213384',
    950: '#000000',
  },
}
SCSS
$custom: #213384;
$custom-light: #6b6aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#213384",
  "rgb": {
    "r": 33,
    "g": 51,
    "b": 132
  },
  "hsl": {
    "h": 229.091,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36065,
    "c": 0.13743,
    "h": 268.8
  },
  "luminance": 0.04357
}

Semantic roles & 50–950 ramp

primary
#213384
secondary
#B6A24B
accent
#C645E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #213384

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

Preview Lab → · Contrast checker → · Palette generator →

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