#213079#213079

#213079 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.5% C 0.125 H 269.8°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#213079
RGBrgb(33, 48, 121)
HSLhsl(230, 57%, 30%)
HSVhsv(230, 73%, 47%)
CMYKcmyk(72.7%, 60.3%, 0%, 52.5%)
CIE-LABlab(23.06, 20.66, -43.54)
CIE-LCHlch(23.06, 48.19, 295.38°)
OKLaboklab(34.46% -0.0005 -0.1255)
OKLCHoklch(34.46% 0.125 269.8)
XYZxyz(5.1342, 3.8172, 18.5517)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213079 #796A21
analogous
#215C79 #213079 #3E2179
triadic
#213079 #792130 #307921
tetradic
#213079 #79215C #796A21 #21793E
square
#213079 #79215C #796A21 #21793E
split-complementary
#213079 #793E21 #5C7921
monochromatic
#070A19 #141D49 #213079 #2E43A9 #475ECD

Accessibility & contrast

On white

11.91
#213079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#213079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213079
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213079#FFFFFF#000000##FFFFFF
##2130791.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7B
Deuteranopia (green-blind)
#003378
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #213079;
/* rgb */ color: rgb(33, 48, 121);
/* oklch */ color: oklch(34.5% 0.125 269.8);
Tailwind
colors: {
  custom: {
    50: '#6968a0',
    500: '#213079',
    950: '#000000',
  },
}
SCSS
$custom: #213079;
$custom-light: #6968a0;
$custom-dark: #000000;
JSON
{
  "hex": "#213079",
  "rgb": {
    "r": 33,
    "g": 48,
    "b": 121
  },
  "hsl": {
    "h": 229.773,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34463,
    "c": 0.12548,
    "h": 269.8
  },
  "luminance": 0.03818
}

Semantic roles & 50–950 ramp

primary
#213079
secondary
#AC9B4A
accent
#C647E0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #213079

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

Preview Lab → · Contrast checker → · Palette generator →

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