#21459F#21459F

#21459F is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.1% C 0.152 H 264.3°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#21459F
RGBrgb(33, 69, 159)
HSLhsl(223, 66%, 38%)
HSVhsv(223, 79%, 62%)
CMYKcmyk(79.2%, 56.6%, 0%, 37.6%)
CIE-LABlab(31.99, 21.13, -52.52)
CIE-LCHlch(31.99, 56.61, 291.91°)
OKLaboklab(42.13% -0.0151 -0.1516)
OKLCHoklch(42.13% 0.152 264.3)
XYZxyz(9.0111, 7.0817, 33.6862)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21459F #9F7B21
analogous
#21849F #21459F #3C219F
triadic
#21459F #9F2145 #459F21
tetradic
#21459F #9F2184 #9F7B21 #219F3C
square
#21459F #9F2184 #9F7B21 #219F3C
split-complementary
#21459F #9F3C21 #849F21
monochromatic
#0C193A #162F6C #21459F #2C5BD2 #5D82DD

Accessibility & contrast

On white

8.69
#21459F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#21459F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21459F
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21459F#FFFFFF#000000##FFFFFF
##21459F1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#005B6B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #21459f;
/* rgb */ color: rgb(33, 69, 159);
/* oklch */ color: oklch(42.1% 0.152 264.3);
Tailwind
colors: {
  custom: {
    50: '#7178bc',
    500: '#21459f',
    950: '#000000',
  },
}
SCSS
$custom: #21459f;
$custom-light: #7178bc;
$custom-dark: #000000;
JSON
{
  "hex": "#21459f",
  "rgb": {
    "r": 33,
    "g": 69,
    "b": 159
  },
  "hsl": {
    "h": 222.857,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42134,
    "c": 0.15231,
    "h": 264.3
  },
  "luminance": 0.07083
}

Semantic roles & 50–950 ramp

primary
#21459F
secondary
#C2A45A
accent
#B83FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #21459F

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

Preview Lab → · Contrast checker → · Palette generator →

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