#21439C#21439C

#21439C is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.5% C 0.151 H 264.7°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#21439C
RGBrgb(33, 67, 156)
HSLhsl(223, 65%, 37%)
HSVhsv(223, 79%, 61%)
CMYKcmyk(78.8%, 57.1%, 0%, 38.8%)
CIE-LABlab(31.20, 21.31, -51.99)
CIE-LCHlch(31.20, 56.19, 292.28°)
OKLaboklab(41.46% -0.0139 -0.15)
OKLCHoklch(41.46% 0.151 264.7)
XYZxyz(8.6330, 6.7370, 32.2914)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21439C #9C7A21
analogous
#21809C #21439C #3D219C
triadic
#21439C #9C2143 #439C21
tetradic
#21439C #9C2180 #9C7A21 #219C3D
square
#21439C #9C2180 #9C7A21 #219C3D
split-complementary
#21439C #9C3D21 #809C21
monochromatic
#0C1837 #162D69 #21439C #2C59CF #5B7FDC

Accessibility & contrast

On white

8.95
#21439C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#21439C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21439C
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21439C#FFFFFF#000000##FFFFFF
##21439C1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#00449A
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #21439c;
/* rgb */ color: rgb(33, 67, 156);
/* oklch */ color: oklch(41.5% 0.151 264.7);
Tailwind
colors: {
  custom: {
    50: '#7076ba',
    500: '#21439c',
    950: '#000000',
  },
}
SCSS
$custom: #21439c;
$custom-light: #7076ba;
$custom-dark: #000000;
JSON
{
  "hex": "#21439c",
  "rgb": {
    "r": 33,
    "g": 67,
    "b": 156
  },
  "hsl": {
    "h": 223.415,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41463,
    "c": 0.15068,
    "h": 264.7
  },
  "luminance": 0.06738
}

Semantic roles & 50–950 ramp

primary
#21439C
secondary
#C1A458
accent
#BA40E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #21439C

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

Preview Lab → · Contrast checker → · Palette generator →

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