#213378#213378

#213378 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 35.0% C 0.120 H 268.5°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#213378
RGBrgb(33, 51, 120)
HSLhsl(228, 57%, 30%)
HSVhsv(228, 73%, 47%)
CMYKcmyk(72.5%, 57.5%, 0%, 52.9%)
CIE-LABlab(23.82, 18.15, -41.65)
CIE-LCHlch(23.82, 45.44, 293.55°)
OKLaboklab(35.01% -0.0032 -0.1199)
OKLCHoklch(35.01% 0.12 268.5)
XYZxyz(5.2000, 4.0465, 18.2727)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213378 #786621
analogous
#215F78 #213378 #3A2178
triadic
#213378 #782133 #337821
tetradic
#213378 #78215F #786621 #21783A
square
#213378 #78215F #786621 #21783A
split-complementary
#213378 #783A21 #5F7821
monochromatic
#070A18 #141F48 #213378 #2E47A8 #4763CC

Accessibility & contrast

On white

11.61
#213378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#213378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213378
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213378#FFFFFF#000000##FFFFFF
##2133781.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7A
Deuteranopia (green-blind)
#003577
Tritanopia (blue-blind)
#004450
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #213378;
/* rgb */ color: rgb(33, 51, 120);
/* oklch */ color: oklch(35.0% 0.120 268.5);
Tailwind
colors: {
  custom: {
    50: '#696aa0',
    500: '#213378',
    950: '#000000',
  },
}
SCSS
$custom: #213378;
$custom-light: #696aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#213378",
  "rgb": {
    "r": 33,
    "g": 51,
    "b": 120
  },
  "hsl": {
    "h": 227.586,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.35012,
    "c": 0.11995,
    "h": 268.5
  },
  "luminance": 0.04047
}

Semantic roles & 50–950 ramp

primary
#213378
secondary
#AB974A
accent
#C148E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #213378

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

Preview Lab → · Contrast checker → · Palette generator →

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