#21295D#21295D

#21295D is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.6% C 0.093 H 273.1°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#21295D
RGBrgb(33, 41, 93)
HSLhsl(232, 48%, 25%)
HSVhsv(232, 65%, 36%)
CMYKcmyk(64.5%, 55.9%, 0%, 63.5%)
CIE-LABlab(18.80, 14.68, -32.29)
CIE-LCHlch(18.80, 35.47, 294.46°)
OKLaboklab(30.56% 0.005 -0.0925)
OKLCHoklch(30.56% 0.093 273.1)
XYZxyz(3.3953, 2.6993, 10.6959)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21295D #5D5521
analogous
#21475D #21295D #37215D
triadic
#21295D #5D2129 #295D21
tetradic
#21295D #5D2147 #5D5521 #215D37
square
#21295D #5D2147 #5D5521 #215D37
split-complementary
#21295D #5D3721 #475D21
monochromatic
#080A17 #111530 #21295D #313D8A #4151B7

Accessibility & contrast

On white

13.64
#21295D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#21295D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21295D
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21295D#FFFFFF#000000##FFFFFF
##21295D1.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B305F
Deuteranopia (green-blind)
#002B5C
Tritanopia (blue-blind)
#00353E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #21295d;
/* rgb */ color: rgb(33, 41, 93);
/* oklch */ color: oklch(30.6% 0.093 273.1);
Tailwind
colors: {
  custom: {
    50: '#63628b',
    500: '#21295d',
    950: '#000000',
  },
}
SCSS
$custom: #21295d;
$custom-light: #63628b;
$custom-dark: #000000;
JSON
{
  "hex": "#21295d",
  "rgb": {
    "r": 33,
    "g": 41,
    "b": 93
  },
  "hsl": {
    "h": 232,
    "s": 47.619,
    "l": 24.706
  },
  "oklch": {
    "l": 0.3056,
    "c": 0.09263,
    "h": 273.1
  },
  "luminance": 0.027
}

Semantic roles & 50–950 ramp

primary
#21295D
secondary
#918849
accent
#C551D7
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #21295D

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

Preview Lab → · Contrast checker → · Palette generator →

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