#23216A#23216A

#23216A is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.2% C 0.123 H 277.3°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#23216A
RGBrgb(35, 33, 106)
HSLhsl(242, 53%, 27%)
HSVhsv(242, 69%, 42%)
CMYKcmyk(67%, 68.9%, 0%, 58.4%)
CIE-LABlab(17.85, 25.62, -42.36)
CIE-LCHlch(17.85, 49.51, 301.16°)
OKLaboklab(30.25% 0.0156 -0.1221)
OKLCHoklch(30.25% 0.123 277.3)
XYZxyz(3.8377, 2.4853, 13.9104)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23216A #686A21
analogous
#21446A #23216A #48216A
triadic
#23216A #6A2321 #216A23
tetradic
#23216A #6A2144 #686A21 #216A48
square
#23216A #6A2144 #686A21 #216A48
split-complementary
#23216A #6A4821 #446A21
monochromatic
#080717 #14123B #23216A #323099 #4541C4

Accessibility & contrast

On white

14.03
#23216A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#23216A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23216A
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23216A#FFFFFF#000000##FFFFFF
##23216A1.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6C
Deuteranopia (green-blind)
#002969
Tritanopia (blue-blind)
#003442
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #23216a;
/* rgb */ color: rgb(35, 33, 106);
/* oklch */ color: oklch(30.2% 0.123 277.3);
Tailwind
colors: {
  custom: {
    50: '#685c95',
    500: '#23216a',
    950: '#000000',
  },
}
SCSS
$custom: #23216a;
$custom-light: #685c95;
$custom-dark: #000000;
JSON
{
  "hex": "#23216a",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 106
  },
  "hsl": {
    "h": 241.644,
    "s": 52.518,
    "l": 27.255
  },
  "oklch": {
    "l": 0.30247,
    "c": 0.12312,
    "h": 277.3
  },
  "luminance": 0.02486
}

Semantic roles & 50–950 ramp

primary
#23216A
secondary
#9B9E49
accent
#DC4CD8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #23216A

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

Preview Lab → · Contrast checker → · Palette generator →

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