#23216D#23216D

#23216D is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.5% C 0.127 H 276.9°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#23216D
RGBrgb(35, 33, 109)
HSLhsl(242, 54%, 28%)
HSVhsv(242, 70%, 43%)
CMYKcmyk(67.9%, 69.7%, 0%, 57.3%)
CIE-LABlab(18.14, 26.72, -43.85)
CIE-LCHlch(18.14, 51.35, 301.36°)
OKLaboklab(30.54% 0.0153 -0.1265)
OKLCHoklch(30.54% 0.127 276.9)
XYZxyz(3.9964, 2.5488, 14.7464)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23216D #6B6D21
analogous
#21456D #23216D #49216D
triadic
#23216D #6D2321 #216D23
tetradic
#23216D #6D2145 #6B6D21 #216D49
square
#23216D #6D2145 #6B6D21 #216D49
split-complementary
#23216D #6D4921 #456D21
monochromatic
#080717 #14133E #23216D #322F9C #4642C6

Accessibility & contrast

On white

13.91
#23216D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#23216D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23216D
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23216D#FFFFFF#000000##FFFFFF
##23216D1.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306F
Deuteranopia (green-blind)
#00296C
Tritanopia (blue-blind)
#003544
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #23216d;
/* rgb */ color: rgb(35, 33, 109);
/* oklch */ color: oklch(30.5% 0.127 276.9);
Tailwind
colors: {
  custom: {
    50: '#685c98',
    500: '#23216d',
    950: '#000000',
  },
}
SCSS
$custom: #23216d;
$custom-light: #685c98;
$custom-dark: #000000;
JSON
{
  "hex": "#23216d",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 109
  },
  "hsl": {
    "h": 241.579,
    "s": 53.521,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30542,
    "c": 0.1274,
    "h": 276.9
  },
  "luminance": 0.02549
}

Semantic roles & 50–950 ramp

primary
#23216D
secondary
#9EA149
accent
#DD4BD9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #23216D

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

Preview Lab → · Contrast checker → · Palette generator →

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