#21309A#21309A

#21309A is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.171 H 269.4°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#21309A
RGBrgb(33, 48, 154)
HSLhsl(233, 65%, 37%)
HSVhsv(233, 79%, 60%)
CMYKcmyk(78.6%, 68.8%, 0%, 39.6%)
CIE-LABlab(26.07, 33.27, -59.17)
CIE-LCHlch(26.07, 67.88, 299.35°)
OKLaboklab(37.61% -0.0018 -0.1713)
OKLCHoklch(37.61% 0.171 269.4)
XYZxyz(7.5149, 4.7695, 31.0901)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21309A #9A8B21
analogous
#216D9A #21309A #4F219A
triadic
#21309A #9A2130 #309A21
tetradic
#21309A #9A216D #9A8B21 #219A4F
square
#21309A #9A216D #9A8B21 #219A4F
split-complementary
#21309A #9A4F21 #6D9A21
monochromatic
#0B1135 #162068 #21309A #2C40CC #5A6ADC

Accessibility & contrast

On white

10.75
#21309A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#21309A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21309A
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21309A#FFFFFF#000000##FFFFFF
##21309A1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449D
Deuteranopia (green-blind)
#003898
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #21309a;
/* rgb */ color: rgb(33, 48, 154);
/* oklch */ color: oklch(37.6% 0.171 269.4);
Tailwind
colors: {
  custom: {
    50: '#7168b9',
    500: '#21309a',
    950: '#000000',
  },
}
SCSS
$custom: #21309a;
$custom-light: #7168b9;
$custom-dark: #000000;
JSON
{
  "hex": "#21309a",
  "rgb": {
    "r": 33,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 232.562,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37606,
    "c": 0.17129,
    "h": 269.4
  },
  "luminance": 0.0477
}

Semantic roles & 50–950 ramp

primary
#21309A
secondary
#C0B357
accent
#D340E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #21309A

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

Preview Lab → · Contrast checker → · Palette generator →

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