#21296B#21296B

#21296B is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.8% C 0.114 H 272.8°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#21296B
RGBrgb(33, 41, 107)
HSLhsl(234, 53%, 27%)
HSVhsv(234, 69%, 42%)
CMYKcmyk(69.2%, 61.7%, 0%, 58%)
CIE-LABlab(19.93, 20.12, -39.64)
CIE-LCHlch(19.93, 44.46, 296.91°)
OKLaboklab(31.76% 0.0056 -0.1141)
OKLCHoklch(31.76% 0.114 272.8)
XYZxyz(4.0731, 2.9704, 14.2658)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21296B #6B6321
analogous
#214E6B #21296B #3E216B
triadic
#21296B #6B2129 #296B21
tetradic
#21296B #6B214E #6B6321 #216B3E
square
#21296B #6B214E #6B6321 #216B3E
split-complementary
#21296B #6B3E21 #4E6B21
monochromatic
#070917 #13173C #21296B #2F3B9A #4250C5

Accessibility & contrast

On white

13.17
#21296B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21296B
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21296B#FFFFFF#000000##FFFFFF
##21296B1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346D
Deuteranopia (green-blind)
#002D6A
Tritanopia (blue-blind)
#003945
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #21296b;
/* rgb */ color: rgb(33, 41, 107);
/* oklch */ color: oklch(31.8% 0.114 272.8);
Tailwind
colors: {
  custom: {
    50: '#666296',
    500: '#21296b',
    950: '#000000',
  },
}
SCSS
$custom: #21296b;
$custom-light: #666296;
$custom-dark: #000000;
JSON
{
  "hex": "#21296b",
  "rgb": {
    "r": 33,
    "g": 41,
    "b": 107
  },
  "hsl": {
    "h": 233.514,
    "s": 52.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31761,
    "c": 0.11426,
    "h": 272.8
  },
  "luminance": 0.02971
}

Semantic roles & 50–950 ramp

primary
#21296B
secondary
#9F9649
accent
#CD4CDC
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #21296B

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

Preview Lab → · Contrast checker → · Palette generator →

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