#23136B#23136B

#23136B is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.2% C 0.141 H 280.7°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#23136B
RGBrgb(35, 19, 107)
HSLhsl(251, 70%, 25%)
HSVhsv(251, 82%, 42%)
CMYKcmyk(67.3%, 82.2%, 0%, 58%)
CIE-LABlab(14.87, 34.54, -47.92)
CIE-LCHlch(14.87, 59.07, 305.78°)
OKLaboklab(28.15% 0.0261 -0.1383)
OKLCHoklch(28.15% 0.141 280.7)
XYZxyz(3.5790, 1.8843, 14.0822)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23136B #5B6B13
analogous
#132F6B #23136B #4F136B
triadic
#23136B #6B2313 #136B23
tetradic
#23136B #6B132F #5B6B13 #136B4F
square
#23136B #6B132F #5B6B13 #136B4F
split-complementary
#23136B #6B4F13 #2F6B13
monochromatic
#08051A #120A37 #23136B #341C9F #4525D3

Accessibility & contrast

On white

15.25
#23136B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#23136B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23136B
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23136B#FFFFFF#000000##FFFFFF
##23136B1.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286D
Deuteranopia (green-blind)
#002269
Tritanopia (blue-blind)
#002D3F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #23136b;
/* rgb */ color: rgb(35, 19, 107);
/* oklch */ color: oklch(28.2% 0.141 280.7);
Tailwind
colors: {
  custom: {
    50: '#695496',
    500: '#23136b',
    950: '#000000',
  },
}
SCSS
$custom: #23136b;
$custom-light: #695496;
$custom-dark: #000000;
JSON
{
  "hex": "#23136b",
  "rgb": {
    "r": 35,
    "g": 19,
    "b": 107
  },
  "hsl": {
    "h": 250.909,
    "s": 69.841,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28151,
    "c": 0.14075,
    "h": 280.7
  },
  "luminance": 0.01885
}

Semantic roles & 50–950 ramp

primary
#23136B
secondary
#8FA238
accent
#ED3BCC
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #23136B

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

Preview Lab → · Contrast checker → · Palette generator →

#23136B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva