#21459B#21459B

#21459B is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.8% C 0.147 H 264.0°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#21459B
RGBrgb(33, 69, 155)
HSLhsl(222, 65%, 37%)
HSVhsv(222, 79%, 61%)
CMYKcmyk(78.7%, 55.5%, 0%, 39.2%)
CIE-LABlab(31.68, 19.55, -50.61)
CIE-LCHlch(31.68, 54.25, 291.12°)
OKLaboklab(41.8% -0.0154 -0.1459)
OKLCHoklch(41.8% 0.147 264)
XYZxyz(8.6696, 6.9451, 31.8876)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21459B #9B7721
analogous
#21829B #21459B #3A219B
triadic
#21459B #9B2145 #459B21
tetradic
#21459B #9B2182 #9B7721 #219B3A
square
#21459B #9B2182 #9B7721 #219B3A
split-complementary
#21459B #9B3A21 #829B21
monochromatic
#0C1836 #162F69 #21459B #2C5BCD #5A81DC

Accessibility & contrast

On white

8.79
#21459B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#21459B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21459B
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21459B#FFFFFF#000000##FFFFFF
##21459B1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509E
Deuteranopia (green-blind)
#004599
Tritanopia (blue-blind)
#005A69
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #21459b;
/* rgb */ color: rgb(33, 69, 155);
/* oklch */ color: oklch(41.8% 0.147 264.0);
Tailwind
colors: {
  custom: {
    50: '#7078b9',
    500: '#21459b',
    950: '#000000',
  },
}
SCSS
$custom: #21459b;
$custom-light: #7078b9;
$custom-dark: #000000;
JSON
{
  "hex": "#21459b",
  "rgb": {
    "r": 33,
    "g": 69,
    "b": 155
  },
  "hsl": {
    "h": 222.295,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41802,
    "c": 0.14674,
    "h": 264
  },
  "luminance": 0.06946
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21459B

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

Preview Lab → · Contrast checker → · Palette generator →

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