#23216F#23216F

#23216F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.7% C 0.130 H 276.6°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#23216F
RGBrgb(35, 33, 111)
HSLhsl(242, 54%, 28%)
HSVhsv(242, 70%, 44%)
CMYKcmyk(68.5%, 70.3%, 0%, 56.5%)
CIE-LABlab(18.33, 27.45, -44.83)
CIE-LCHlch(18.33, 52.57, 301.48°)
OKLaboklab(30.74% 0.015 -0.1293)
OKLCHoklch(30.74% 0.13 276.6)
XYZxyz(4.1053, 2.5924, 15.3199)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23216F #6D6F21
analogous
#21466F #23216F #4A216F
triadic
#23216F #6F2321 #216F23
tetradic
#23216F #6F2146 #6D6F21 #216F4A
square
#23216F #6F2146 #6D6F21 #216F4A
split-complementary
#23216F #6F4A21 #466F21
monochromatic
#070718 #141340 #23216F #322F9E #4743C7

Accessibility & contrast

On white

13.83
#23216F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#23216F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23216F
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23216F#FFFFFF#000000##FFFFFF
##23216F1.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#00296E
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #23216f;
/* rgb */ color: rgb(35, 33, 111);
/* oklch */ color: oklch(30.7% 0.130 276.6);
Tailwind
colors: {
  custom: {
    50: '#695d99',
    500: '#23216f',
    950: '#000000',
  },
}
SCSS
$custom: #23216f;
$custom-light: #695d99;
$custom-dark: #000000;
JSON
{
  "hex": "#23216f",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 241.538,
    "s": 54.167,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30742,
    "c": 0.13022,
    "h": 276.6
  },
  "luminance": 0.02593
}

Semantic roles & 50–950 ramp

primary
#23216F
secondary
#A0A349
accent
#DE4ADA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #23216F

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

Preview Lab → · Contrast checker → · Palette generator →

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