#21296C#21296C

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

Color values

HEX#21296C
RGBrgb(33, 41, 108)
HSLhsl(234, 53%, 28%)
HSVhsv(234, 69%, 42%)
CMYKcmyk(69.4%, 62%, 0%, 57.6%)
CIE-LABlab(20.01, 20.51, -40.15)
CIE-LCHlch(20.01, 45.09, 297.06°)
OKLaboklab(31.85% 0.0056 -0.1156)
OKLCHoklch(31.85% 0.116 272.8)
XYZxyz(4.1260, 2.9915, 14.5444)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21296C #6C6421
analogous
#214E6C #21296C #3E216C
triadic
#21296C #6C2129 #296C21
tetradic
#21296C #6C214E #6C6421 #216C3E
square
#21296C #6C214E #6C6421 #216C3E
split-complementary
#21296C #6C3E21 #4E6C21
monochromatic
#070917 #13173D #21296C #2F3B9B #4250C5

Accessibility & contrast

On white

13.14
#21296C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21296C
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21296C#FFFFFF#000000##FFFFFF
##21296C1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346E
Deuteranopia (green-blind)
#002D6B
Tritanopia (blue-blind)
#003946
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #21296c;
/* rgb */ color: rgb(33, 41, 108);
/* oklch */ color: oklch(31.9% 0.116 272.8);
Tailwind
colors: {
  custom: {
    50: '#666297',
    500: '#21296c',
    950: '#000000',
  },
}
SCSS
$custom: #21296c;
$custom-light: #666297;
$custom-dark: #000000;
JSON
{
  "hex": "#21296c",
  "rgb": {
    "r": 33,
    "g": 41,
    "b": 108
  },
  "hsl": {
    "h": 233.6,
    "s": 53.191,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31851,
    "c": 0.11576,
    "h": 272.8
  },
  "luminance": 0.02992
}

Semantic roles & 50–950 ramp

primary
#21296C
secondary
#A09649
accent
#CD4BDD
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #21296C

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

Preview Lab → · Contrast checker → · Palette generator →

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