#21459E#21459E

#21459E is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.1% C 0.151 H 264.2°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#21459E
RGBrgb(33, 69, 158)
HSLhsl(223, 65%, 37%)
HSVhsv(223, 79%, 62%)
CMYKcmyk(79.1%, 56.3%, 0%, 38%)
CIE-LABlab(31.91, 20.73, -52.05)
CIE-LCHlch(31.91, 56.02, 291.72°)
OKLaboklab(42.05% -0.0152 -0.1502)
OKLCHoklch(42.05% 0.151 264.2)
XYZxyz(8.9247, 7.0472, 33.2310)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21459E #9E7A21
analogous
#21849E #21459E #3C219E
triadic
#21459E #9E2145 #459E21
tetradic
#21459E #9E2184 #9E7A21 #219E3C
square
#21459E #9E2184 #9E7A21 #219E3C
split-complementary
#21459E #9E3C21 #849E21
monochromatic
#0C1939 #162F6B #21459E #2C5BD1 #5C81DD

Accessibility & contrast

On white

8.72
#21459E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#21459E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21459E
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21459E#FFFFFF#000000##FFFFFF
##21459E1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #21459e;
/* rgb */ color: rgb(33, 69, 158);
/* oklch */ color: oklch(42.1% 0.151 264.2);
Tailwind
colors: {
  custom: {
    50: '#7178bb',
    500: '#21459e',
    950: '#000000',
  },
}
SCSS
$custom: #21459e;
$custom-light: #7178bb;
$custom-dark: #000000;
JSON
{
  "hex": "#21459e",
  "rgb": {
    "r": 33,
    "g": 69,
    "b": 158
  },
  "hsl": {
    "h": 222.72,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42051,
    "c": 0.15093,
    "h": 264.2
  },
  "luminance": 0.07048
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21459E

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

Preview Lab → · Contrast checker → · Palette generator →

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