#21447F#21447F

#21447F is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.4% C 0.108 H 260.2°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#21447F
RGBrgb(33, 68, 127)
HSLhsl(218, 59%, 31%)
HSVhsv(218, 74%, 50%)
CMYKcmyk(74%, 46.5%, 0%, 50.2%)
CIE-LABlab(29.39, 9.09, -37.10)
CIE-LCHlch(29.39, 38.19, 283.77°)
OKLaboklab(39.41% -0.0184 -0.1062)
OKLCHoklch(39.41% 0.108 260.2)
XYZxyz(6.5237, 5.9892, 20.8868)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21447F #7F5C21
analogous
#21737F #21447F #2D217F
triadic
#21447F #7F2144 #447F21
tetradic
#21447F #7F2173 #7F5C21 #217F2D
square
#21447F #7F2173 #7F5C21 #217F2D
split-complementary
#21447F #7F2D21 #737F21
monochromatic
#08101E #142A4E #21447F #2E5EB0 #4A7CD0

Accessibility & contrast

On white

9.55
#21447F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#21447F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21447F
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21447F#FFFFFF#000000##FFFFFF
##21447F1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264A81
Deuteranopia (green-blind)
#14417E
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #21447f;
/* rgb */ color: rgb(33, 68, 127);
/* oklch */ color: oklch(39.4% 0.108 260.2);
Tailwind
colors: {
  custom: {
    50: '#6977a4',
    500: '#21447f',
    950: '#000000',
  },
}
SCSS
$custom: #21447f;
$custom-light: #6977a4;
$custom-dark: #000000;
JSON
{
  "hex": "#21447f",
  "rgb": {
    "r": 33,
    "g": 68,
    "b": 127
  },
  "hsl": {
    "h": 217.66,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3941,
    "c": 0.10777,
    "h": 260.2
  },
  "luminance": 0.0599
}

Semantic roles & 50–950 ramp

primary
#21447F
secondary
#B28B4A
accent
#A846E2
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #21447F

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

Preview Lab → · Contrast checker → · Palette generator →

#21447F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva