#21296A#21296A

#21296A is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.7% C 0.113 H 272.9°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#21296A
RGBrgb(33, 41, 106)
HSLhsl(233, 53%, 27%)
HSVhsv(233, 69%, 42%)
CMYKcmyk(68.9%, 61.3%, 0%, 58.4%)
CIE-LABlab(19.84, 19.73, -39.13)
CIE-LCHlch(19.84, 43.82, 296.76°)
OKLaboklab(31.67% 0.0056 -0.1126)
OKLCHoklch(31.67% 0.113 272.9)
XYZxyz(4.0208, 2.9495, 13.9903)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21296A #6A6221
analogous
#214D6A #21296A #3E216A
triadic
#21296A #6A2129 #296A21
tetradic
#21296A #6A214D #6A6221 #216A3E
square
#21296A #6A214D #6A6221 #216A3E
split-complementary
#21296A #6A3E21 #4D6A21
monochromatic
#070917 #12173B #21296A #303B99 #4150C4

Accessibility & contrast

On white

13.21
#21296A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#21296A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21296A
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21296A#FFFFFF#000000##FFFFFF
##21296A1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#002D69
Tritanopia (blue-blind)
#003945
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #21296a;
/* rgb */ color: rgb(33, 41, 106);
/* oklch */ color: oklch(31.7% 0.113 272.9);
Tailwind
colors: {
  custom: {
    50: '#666295',
    500: '#21296a',
    950: '#000000',
  },
}
SCSS
$custom: #21296a;
$custom-light: #666295;
$custom-dark: #000000;
JSON
{
  "hex": "#21296a",
  "rgb": {
    "r": 33,
    "g": 41,
    "b": 106
  },
  "hsl": {
    "h": 233.425,
    "s": 52.518,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31671,
    "c": 0.11276,
    "h": 272.9
  },
  "luminance": 0.0295
}

Semantic roles & 50–950 ramp

primary
#21296A
secondary
#9E9549
accent
#CC4CDC
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #21296A

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

Preview Lab → · Contrast checker → · Palette generator →

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