#213879#213879

#213879 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.2% C 0.115 H 266.1°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#213879
RGBrgb(33, 56, 121)
HSLhsl(224, 57%, 30%)
HSVhsv(224, 73%, 47%)
CMYKcmyk(72.7%, 53.7%, 0%, 52.5%)
CIE-LABlab(25.36, 15.03, -39.81)
CIE-LCHlch(25.36, 42.55, 290.69°)
OKLaboklab(36.19% -0.0078 -0.1144)
OKLCHoklch(36.19% 0.115 266.1)
XYZxyz(5.4914, 4.5316, 18.6707)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213879 #796221
analogous
#216479 #213879 #362179
triadic
#213879 #792138 #387921
tetradic
#213879 #792164 #796221 #217936
square
#213879 #792164 #796221 #217936
split-complementary
#213879 #793621 #647921
monochromatic
#070B19 #142249 #213879 #2E4EA9 #476ACD

Accessibility & contrast

On white

11.02
#213879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#213879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213879
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213879#FFFFFF#000000##FFFFFF
##2138791.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F407B
Deuteranopia (green-blind)
#003878
Tritanopia (blue-blind)
#004753
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #213879;
/* rgb */ color: rgb(33, 56, 121);
/* oklch */ color: oklch(36.2% 0.115 266.1);
Tailwind
colors: {
  custom: {
    50: '#686ea0',
    500: '#213879',
    950: '#000000',
  },
}
SCSS
$custom: #213879;
$custom-light: #686ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#213879",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 121
  },
  "hsl": {
    "h": 224.318,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36193,
    "c": 0.11465,
    "h": 266.1
  },
  "luminance": 0.04532
}

Semantic roles & 50–950 ramp

primary
#213879
secondary
#AC924A
accent
#B847E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #213879

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

Preview Lab → · Contrast checker → · Palette generator →

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