#23216E#23216E

#23216E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.6% C 0.129 H 276.8°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#23216E
RGBrgb(35, 33, 110)
HSLhsl(242, 54%, 28%)
HSVhsv(242, 70%, 43%)
CMYKcmyk(68.2%, 70%, 0%, 56.9%)
CIE-LABlab(18.23, 27.08, -44.34)
CIE-LCHlch(18.23, 51.96, 301.42°)
OKLaboklab(30.64% 0.0152 -0.1279)
OKLCHoklch(30.64% 0.129 276.8)
XYZxyz(4.0505, 2.5705, 15.0315)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23216E #6C6E21
analogous
#21466E #23216E #49216E
triadic
#23216E #6E2321 #216E23
tetradic
#23216E #6E2146 #6C6E21 #216E49
square
#23216E #6E2146 #6C6E21 #216E49
split-complementary
#23216E #6E4921 #466E21
monochromatic
#070718 #14133F #23216E #322F9D #4643C7

Accessibility & contrast

On white

13.87
#23216E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23216E
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23216E#FFFFFF#000000##FFFFFF
##23216E1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003070
Deuteranopia (green-blind)
#00296D
Tritanopia (blue-blind)
#003544
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #23216e;
/* rgb */ color: rgb(35, 33, 110);
/* oklch */ color: oklch(30.6% 0.129 276.8);
Tailwind
colors: {
  custom: {
    50: '#695d98',
    500: '#23216e',
    950: '#000000',
  },
}
SCSS
$custom: #23216e;
$custom-light: #695d98;
$custom-dark: #000000;
JSON
{
  "hex": "#23216e",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 110
  },
  "hsl": {
    "h": 241.558,
    "s": 53.846,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30642,
    "c": 0.12882,
    "h": 276.8
  },
  "luminance": 0.02571
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #23216E

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

Preview Lab → · Contrast checker → · Palette generator →

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