#213379#213379

#213379 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.1% C 0.121 H 268.5°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#213379
RGBrgb(33, 51, 121)
HSLhsl(228, 57%, 30%)
HSVhsv(228, 73%, 47%)
CMYKcmyk(72.7%, 57.9%, 0%, 52.5%)
CIE-LABlab(23.90, 18.55, -42.16)
CIE-LCHlch(23.90, 46.06, 293.75°)
OKLaboklab(35.1% -0.0032 -0.1214)
OKLCHoklch(35.1% 0.121 268.5)
XYZxyz(5.2610, 4.0709, 18.5940)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213379 #796721
analogous
#215F79 #213379 #3B2179
triadic
#213379 #792133 #337921
tetradic
#213379 #79215F #796721 #21793B
square
#213379 #79215F #796721 #21793B
split-complementary
#213379 #793B21 #5F7921
monochromatic
#070A19 #141F49 #213379 #2E47A9 #4763CD

Accessibility & contrast

On white

11.58
#213379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213379
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213379#FFFFFF#000000##FFFFFF
##2133791.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #213379;
/* rgb */ color: rgb(33, 51, 121);
/* oklch */ color: oklch(35.1% 0.121 268.5);
Tailwind
colors: {
  custom: {
    50: '#696aa0',
    500: '#213379',
    950: '#000000',
  },
}
SCSS
$custom: #213379;
$custom-light: #696aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#213379",
  "rgb": {
    "r": 33,
    "g": 51,
    "b": 121
  },
  "hsl": {
    "h": 227.727,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35097,
    "c": 0.12143,
    "h": 268.5
  },
  "luminance": 0.04071
}

Semantic roles & 50–950 ramp

primary
#213379
secondary
#AC984A
accent
#C147E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #213379

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

Preview Lab → · Contrast checker → · Palette generator →

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