#21296D#21296D

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

Color values

HEX#21296D
RGBrgb(33, 41, 109)
HSLhsl(234, 54%, 28%)
HSVhsv(234, 70%, 43%)
CMYKcmyk(69.7%, 62.4%, 0%, 57.3%)
CIE-LABlab(20.10, 20.90, -40.66)
CIE-LCHlch(20.10, 45.71, 297.20°)
OKLaboklab(31.94% 0.0056 -0.1171)
OKLCHoklch(31.94% 0.117 272.7)
XYZxyz(4.1795, 3.0130, 14.8263)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21296D #6D6521
analogous
#214F6D #21296D #3F216D
triadic
#21296D #6D2129 #296D21
tetradic
#21296D #6D214F #6D6521 #216D3F
square
#21296D #6D214F #6D6521 #216D3F
split-complementary
#21296D #6D3F21 #4F6D21
monochromatic
#070917 #13173E #21296D #2F3B9C #4250C6

Accessibility & contrast

On white

13.10
#21296D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#21296D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21296D
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21296D#FFFFFF#000000##FFFFFF
##21296D1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346F
Deuteranopia (green-blind)
#002D6C
Tritanopia (blue-blind)
#003A46
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #21296d;
/* rgb */ color: rgb(33, 41, 109);
/* oklch */ color: oklch(31.9% 0.117 272.7);
Tailwind
colors: {
  custom: {
    50: '#676297',
    500: '#21296d',
    950: '#000000',
  },
}
SCSS
$custom: #21296d;
$custom-light: #676297;
$custom-dark: #000000;
JSON
{
  "hex": "#21296d",
  "rgb": {
    "r": 33,
    "g": 41,
    "b": 109
  },
  "hsl": {
    "h": 233.684,
    "s": 53.521,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31941,
    "c": 0.11725,
    "h": 272.7
  },
  "luminance": 0.03013
}

Semantic roles & 50–950 ramp

primary
#21296D
secondary
#A19749
accent
#CE4BDD
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #21296D

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

Preview Lab → · Contrast checker → · Palette generator →

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