#21459C#21459C

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

Color values

HEX#21459C
RGBrgb(33, 69, 156)
HSLhsl(222, 65%, 37%)
HSVhsv(222, 79%, 61%)
CMYKcmyk(78.8%, 55.8%, 0%, 38.8%)
CIE-LABlab(31.76, 19.94, -51.09)
CIE-LCHlch(31.76, 54.84, 291.32°)
OKLaboklab(41.88% -0.0153 -0.1473)
OKLCHoklch(41.88% 0.148 264.1)
XYZxyz(8.7539, 6.9789, 32.3317)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21459C #9C7821
analogous
#21839C #21459C #3B219C
triadic
#21459C #9C2145 #459C21
tetradic
#21459C #9C2183 #9C7821 #219C3B
square
#21459C #9C2183 #9C7821 #219C3B
split-complementary
#21459C #9C3B21 #839C21
monochromatic
#0C1837 #162F69 #21459C #2C5BCF #5B81DC

Accessibility & contrast

On white

8.76
#21459C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21459C
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21459C#FFFFFF#000000##FFFFFF
##21459C1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519F
Deuteranopia (green-blind)
#00459A
Tritanopia (blue-blind)
#005A69
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #21459c;
/* rgb */ color: rgb(33, 69, 156);
/* oklch */ color: oklch(41.9% 0.148 264.1);
Tailwind
colors: {
  custom: {
    50: '#7078ba',
    500: '#21459c',
    950: '#000000',
  },
}
SCSS
$custom: #21459c;
$custom-light: #7078ba;
$custom-dark: #000000;
JSON
{
  "hex": "#21459c",
  "rgb": {
    "r": 33,
    "g": 69,
    "b": 156
  },
  "hsl": {
    "h": 222.439,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41884,
    "c": 0.14814,
    "h": 264.1
  },
  "luminance": 0.0698
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21459C

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

Preview Lab → · Contrast checker → · Palette generator →

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