#21467C#21467C

#21467C is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.7% C 0.101 H 258.0°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#21467C
RGBrgb(33, 70, 124)
HSLhsl(216, 58%, 31%)
HSVhsv(216, 73%, 49%)
CMYKcmyk(73.4%, 43.5%, 0%, 51.4%)
CIE-LABlab(29.81, 6.54, -34.55)
CIE-LCHlch(29.81, 35.16, 280.72°)
OKLaboklab(39.67% -0.021 -0.0987)
OKLCHoklch(39.67% 0.101 258)
XYZxyz(6.4541, 6.1582, 19.9134)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21467C #7C5721
analogous
#21737C #21467C #29217C
triadic
#21467C #7C2146 #467C21
tetradic
#21467C #7C2173 #7C5721 #217C29
square
#21467C #7C2173 #7C5721 #217C29
split-complementary
#21467C #7C2921 #737C21
monochromatic
#070F1B #142B4C #21467C #2E61AC #497FCF

Accessibility & contrast

On white

9.41
#21467C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#21467C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21467C
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21467C#FFFFFF#000000##FFFFFF
##21467C1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4B7E
Deuteranopia (green-blind)
#1D427B
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #21467c;
/* rgb */ color: rgb(33, 70, 124);
/* oklch */ color: oklch(39.7% 0.101 258.0);
Tailwind
colors: {
  custom: {
    50: '#6979a2',
    500: '#21467c',
    950: '#000000',
  },
}
SCSS
$custom: #21467c;
$custom-light: #6979a2;
$custom-dark: #000000;
JSON
{
  "hex": "#21467c",
  "rgb": {
    "r": 33,
    "g": 70,
    "b": 124
  },
  "hsl": {
    "h": 215.604,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39675,
    "c": 0.10088,
    "h": 258
  },
  "luminance": 0.06159
}

Semantic roles & 50–950 ramp

primary
#21467C
secondary
#AF864A
accent
#A247E1
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #21467C

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

Preview Lab → · Contrast checker → · Palette generator →

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