#23217A#23217A

#23217A is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.9% C 0.145 H 275.3°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#23217A
RGBrgb(35, 33, 122)
HSLhsl(241, 57%, 30%)
HSVhsv(241, 73%, 48%)
CMYKcmyk(71.3%, 73%, 0%, 52.2%)
CIE-LABlab(19.43, 31.43, -50.10)
CIE-LCHlch(19.43, 59.14, 302.10°)
OKLaboklab(31.87% 0.0134 -0.1448)
OKLCHoklch(31.87% 0.145 275.3)
XYZxyz(4.7487, 2.8497, 18.7084)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23217A #787A21
analogous
#214C7A #23217A #4F217A
triadic
#23217A #7A2321 #217A23
tetradic
#23217A #7A214C #787A21 #217A4F
square
#23217A #7A214C #787A21 #217A4F
split-complementary
#23217A #7A4F21 #4C7A21
monochromatic
#07071A #15144A #23217A #312EAA #4B48CD

Accessibility & contrast

On white

13.38
#23217A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#23217A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23217A
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23217A#FFFFFF#000000##FFFFFF
##23217A1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337D
Deuteranopia (green-blind)
#002B78
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #23217a;
/* rgb */ color: rgb(35, 33, 122);
/* oklch */ color: oklch(31.9% 0.145 275.3);
Tailwind
colors: {
  custom: {
    50: '#6b5da1',
    500: '#23217a',
    950: '#000000',
  },
}
SCSS
$custom: #23217a;
$custom-light: #6b5da1;
$custom-dark: #000000;
JSON
{
  "hex": "#23217a",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 122
  },
  "hsl": {
    "h": 241.348,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3187,
    "c": 0.14538,
    "h": 275.3
  },
  "luminance": 0.0285
}

Semantic roles & 50–950 ramp

primary
#23217A
secondary
#ABAD4A
accent
#E147DD
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08040F
muted
#7A797F

Preview Lab

Preview with #23217A

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

Preview Lab → · Contrast checker → · Palette generator →

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