#21296E#21296E

#21296E is a dark, moderate blue. Relative luminance 0.030; OKLCH L 32.0% C 0.119 H 272.7°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#21296E
RGBrgb(33, 41, 110)
HSLhsl(234, 54%, 28%)
HSVhsv(234, 70%, 43%)
CMYKcmyk(70%, 62.7%, 0%, 56.9%)
CIE-LABlab(20.18, 21.28, -41.17)
CIE-LCHlch(20.18, 46.34, 297.34°)
OKLaboklab(32.03% 0.0056 -0.1186)
OKLCHoklch(32.03% 0.119 272.7)
XYZxyz(4.2337, 3.0346, 15.1115)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21296E #6E6621
analogous
#214F6E #21296E #3F216E
triadic
#21296E #6E2129 #296E21
tetradic
#21296E #6E214F #6E6621 #216E3F
square
#21296E #6E214F #6E6621 #216E3F
split-complementary
#21296E #6E3F21 #4F6E21
monochromatic
#070918 #13173F #21296E #2F3B9D #4351C7

Accessibility & contrast

On white

13.07
#21296E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#21296E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21296E
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21296E#FFFFFF#000000##FFFFFF
##21296E1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003470
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#003A47
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #21296e;
/* rgb */ color: rgb(33, 41, 110);
/* oklch */ color: oklch(32.0% 0.119 272.7);
Tailwind
colors: {
  custom: {
    50: '#676298',
    500: '#21296e',
    950: '#000000',
  },
}
SCSS
$custom: #21296e;
$custom-light: #676298;
$custom-dark: #000000;
JSON
{
  "hex": "#21296e",
  "rgb": {
    "r": 33,
    "g": 41,
    "b": 110
  },
  "hsl": {
    "h": 233.766,
    "s": 53.846,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32032,
    "c": 0.11873,
    "h": 272.7
  },
  "luminance": 0.03035
}

Semantic roles & 50–950 ramp

primary
#21296E
secondary
#A29849
accent
#CE4BDD
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #21296E

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

Preview Lab → · Contrast checker → · Palette generator →

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