#21459A#21459A

#21459A is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.7% C 0.145 H 263.9°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#21459A
RGBrgb(33, 69, 154)
HSLhsl(222, 65%, 37%)
HSVhsv(222, 79%, 60%)
CMYKcmyk(78.6%, 55.2%, 0%, 39.6%)
CIE-LABlab(31.61, 19.15, -50.12)
CIE-LCHlch(31.61, 53.66, 290.91°)
OKLaboklab(41.72% -0.0155 -0.1445)
OKLCHoklch(41.72% 0.145 263.9)
XYZxyz(8.5860, 6.9117, 31.4472)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21459A #9A7621
analogous
#21829A #21459A #3A219A
triadic
#21459A #9A2145 #459A21
tetradic
#21459A #9A2182 #9A7621 #219A3A
square
#21459A #9A2182 #9A7621 #219A3A
split-complementary
#21459A #9A3A21 #829A21
monochromatic
#0B1835 #162E68 #21459A #2C5CCC #5A80DC

Accessibility & contrast

On white

8.81
#21459A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#21459A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21459A
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21459A#FFFFFF#000000##FFFFFF
##21459A1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509D
Deuteranopia (green-blind)
#004598
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #21459a;
/* rgb */ color: rgb(33, 69, 154);
/* oklch */ color: oklch(41.7% 0.145 263.9);
Tailwind
colors: {
  custom: {
    50: '#7078b8',
    500: '#21459a',
    950: '#000000',
  },
}
SCSS
$custom: #21459a;
$custom-light: #7078b8;
$custom-dark: #000000;
JSON
{
  "hex": "#21459a",
  "rgb": {
    "r": 33,
    "g": 69,
    "b": 154
  },
  "hsl": {
    "h": 222.149,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4172,
    "c": 0.14534,
    "h": 263.9
  },
  "luminance": 0.06913
}

Semantic roles & 50–950 ramp

primary
#21459A
secondary
#C0A157
accent
#B640E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #21459A

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

Preview Lab → · Contrast checker → · Palette generator →

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