#21467E#21467E

#21467E is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.8% C 0.104 H 258.6°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#21467E
RGBrgb(33, 70, 126)
HSLhsl(216, 58%, 31%)
HSVhsv(216, 74%, 49%)
CMYKcmyk(73.8%, 44.4%, 0%, 50.6%)
CIE-LABlab(29.93, 7.33, -35.59)
CIE-LCHlch(29.93, 36.34, 281.64°)
OKLaboklab(39.81% -0.0205 -0.1017)
OKLCHoklch(39.81% 0.104 258.6)
XYZxyz(6.5819, 6.2093, 20.5863)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21467E #7E5921
analogous
#21747E #21467E #2A217E
triadic
#21467E #7E2146 #467E21
tetradic
#21467E #7E2174 #7E5921 #217E2A
square
#21467E #7E2174 #7E5921 #217E2A
split-complementary
#21467E #7E2A21 #747E21
monochromatic
#08101D #142B4E #21467E #2E61AE #4A7FD0

Accessibility & contrast

On white

9.37
#21467E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#21467E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21467E
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21467E#FFFFFF#000000##FFFFFF
##21467E1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4B80
Deuteranopia (green-blind)
#1B437D
Tritanopia (blue-blind)
#00535C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #21467e;
/* rgb */ color: rgb(33, 70, 126);
/* oklch */ color: oklch(39.8% 0.104 258.6);
Tailwind
colors: {
  custom: {
    50: '#6979a4',
    500: '#21467e',
    950: '#000000',
  },
}
SCSS
$custom: #21467e;
$custom-light: #6979a4;
$custom-dark: #000000;
JSON
{
  "hex": "#21467e",
  "rgb": {
    "r": 33,
    "g": 70,
    "b": 126
  },
  "hsl": {
    "h": 216.129,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39814,
    "c": 0.10379,
    "h": 258.6
  },
  "luminance": 0.0621
}

Semantic roles & 50–950 ramp

primary
#21467E
secondary
#B1884A
accent
#A446E2
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #21467E

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

Preview Lab → · Contrast checker → · Palette generator →

#21467E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva