#213479#213479

#213479 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.3% C 0.120 H 268.1°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#213479
RGBrgb(33, 52, 121)
HSLhsl(227, 57%, 30%)
HSVhsv(227, 73%, 47%)
CMYKcmyk(72.7%, 57%, 0%, 52.5%)
CIE-LABlab(24.19, 17.85, -41.69)
CIE-LCHlch(24.19, 45.35, 293.17°)
OKLaboklab(35.31% -0.0041 -0.12)
OKLCHoklch(35.31% 0.12 268.1)
XYZxyz(5.3052, 4.1593, 18.6087)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213479 #796621
analogous
#216079 #213479 #3A2179
triadic
#213479 #792134 #347921
tetradic
#213479 #792160 #796621 #21793A
square
#213479 #792160 #796621 #21793A
split-complementary
#213479 #793A21 #607921
monochromatic
#070B19 #141F49 #213479 #2E49A9 #4764CD

Accessibility & contrast

On white

11.46
#213479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#213479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213479
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213479#FFFFFF#000000##FFFFFF
##2134791.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7B
Deuteranopia (green-blind)
#003678
Tritanopia (blue-blind)
#004551
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #213479;
/* rgb */ color: rgb(33, 52, 121);
/* oklch */ color: oklch(35.3% 0.120 268.1);
Tailwind
colors: {
  custom: {
    50: '#696ba0',
    500: '#213479',
    950: '#000000',
  },
}
SCSS
$custom: #213479;
$custom-light: #696ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#213479",
  "rgb": {
    "r": 33,
    "g": 52,
    "b": 121
  },
  "hsl": {
    "h": 227.045,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35313,
    "c": 0.12008,
    "h": 268.1
  },
  "luminance": 0.0416
}

Semantic roles & 50–950 ramp

primary
#213479
secondary
#AC974A
accent
#BF47E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #213479

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

Preview Lab → · Contrast checker → · Palette generator →

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