#21467D#21467D

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

Color values

HEX#21467D
RGBrgb(33, 70, 125)
HSLhsl(216, 58%, 31%)
HSVhsv(216, 74%, 49%)
CMYKcmyk(73.6%, 44%, 0%, 51%)
CIE-LABlab(29.87, 6.93, -35.07)
CIE-LCHlch(29.87, 35.75, 281.19°)
OKLaboklab(39.74% -0.0208 -0.1002)
OKLCHoklch(39.74% 0.102 258.3)
XYZxyz(6.5177, 6.1836, 20.2481)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21467D #7D5821
analogous
#21747D #21467D #2A217D
triadic
#21467D #7D2146 #467D21
tetradic
#21467D #7D2174 #7D5821 #217D2A
square
#21467D #7D2174 #7D5821 #217D2A
split-complementary
#21467D #7D2A21 #747D21
monochromatic
#07101C #142B4D #21467D #2E61AD #497FCF

Accessibility & contrast

On white

9.39
#21467D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21467D
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21467D#FFFFFF#000000##FFFFFF
##21467D1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21467d;
/* rgb */ color: rgb(33, 70, 125);
/* oklch */ color: oklch(39.7% 0.102 258.3);
Tailwind
colors: {
  custom: {
    50: '#6979a3',
    500: '#21467d',
    950: '#000000',
  },
}
SCSS
$custom: #21467d;
$custom-light: #6979a3;
$custom-dark: #000000;
JSON
{
  "hex": "#21467d",
  "rgb": {
    "r": 33,
    "g": 70,
    "b": 125
  },
  "hsl": {
    "h": 215.87,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39744,
    "c": 0.10233,
    "h": 258.3
  },
  "luminance": 0.06184
}

Semantic roles & 50–950 ramp

primary
#21467D
secondary
#B0874A
accent
#A346E1
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #21467D

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

Preview Lab → · Contrast checker → · Palette generator →

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