#23108D#23108D

#23108D is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.184 H 275.0°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#23108D
RGBrgb(35, 16, 141)
HSLhsl(249, 80%, 31%)
HSVhsv(249, 89%, 55%)
CMYKcmyk(75.2%, 88.7%, 0%, 44.7%)
CIE-LABlab(18.59, 46.46, -63.50)
CIE-LCHlch(18.59, 78.68, 306.19°)
OKLaboklab(31.92% 0.0162 -0.1835)
OKLCHoklch(31.92% 0.184 275)
XYZxyz(5.6846, 2.6504, 25.4061)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23108D #7A8D10
analogous
#103B8D #23108D #61108D
triadic
#23108D #8D2310 #108D23
tetradic
#23108D #8D103B #7A8D10 #108D61
square
#23108D #8D103B #7A8D10 #108D61
split-complementary
#23108D #8D6110 #3B8D10
monochromatic
#08041F #150A56 #23108D #3116C4 #4C30E7

Accessibility & contrast

On white

13.72
#23108D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#23108D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23108D
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23108D#FFFFFF#000000##FFFFFF
##23108D1.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003290
Deuteranopia (green-blind)
#00288B
Tritanopia (blue-blind)
#003A52
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #23108d;
/* rgb */ color: rgb(35, 16, 141);
/* oklch */ color: oklch(31.9% 0.184 275.0);
Tailwind
colors: {
  custom: {
    50: '#7255b0',
    500: '#23108d',
    950: '#000000',
  },
}
SCSS
$custom: #23108d;
$custom-light: #7255b0;
$custom-dark: #000000;
JSON
{
  "hex": "#23108d",
  "rgb": {
    "r": 35,
    "g": 16,
    "b": 141
  },
  "hsl": {
    "h": 249.12,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31925,
    "c": 0.1842,
    "h": 275
  },
  "luminance": 0.02651
}

Semantic roles & 50–950 ramp

primary
#23108D
secondary
#ADC237
accent
#F632D8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #23108D

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

Preview Lab → · Contrast checker → · Palette generator →

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