#21459D#21459D

#21459D is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.0% C 0.150 H 264.1°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#21459D
RGBrgb(33, 69, 157)
HSLhsl(223, 65%, 37%)
HSVhsv(223, 79%, 62%)
CMYKcmyk(79%, 56.1%, 0%, 38.4%)
CIE-LABlab(31.84, 20.34, -51.57)
CIE-LCHlch(31.84, 55.43, 291.53°)
OKLaboklab(41.97% -0.0153 -0.1487)
OKLCHoklch(41.97% 0.15 264.1)
XYZxyz(8.8390, 7.0129, 32.7795)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21459D #9D7921
analogous
#21839D #21459D #3B219D
triadic
#21459D #9D2145 #459D21
tetradic
#21459D #9D2183 #9D7921 #219D3B
square
#21459D #9D2183 #9D7921 #219D3B
split-complementary
#21459D #9D3B21 #839D21
monochromatic
#0C1938 #162F6A #21459D #2C5BD0 #5C81DD

Accessibility & contrast

On white

8.74
#21459D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#21459D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21459D
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21459D#FFFFFF#000000##FFFFFF
##21459D1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A0
Deuteranopia (green-blind)
#00459B
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #21459d;
/* rgb */ color: rgb(33, 69, 157);
/* oklch */ color: oklch(42.0% 0.150 264.1);
Tailwind
colors: {
  custom: {
    50: '#7078bb',
    500: '#21459d',
    950: '#000000',
  },
}
SCSS
$custom: #21459d;
$custom-light: #7078bb;
$custom-dark: #000000;
JSON
{
  "hex": "#21459d",
  "rgb": {
    "r": 33,
    "g": 69,
    "b": 157
  },
  "hsl": {
    "h": 222.581,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41967,
    "c": 0.14953,
    "h": 264.1
  },
  "luminance": 0.07014
}

Semantic roles & 50–950 ramp

primary
#21459D
secondary
#C1A359
accent
#B740E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #21459D

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

Preview Lab → · Contrast checker → · Palette generator →

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