#23139A#23139A

#23139A is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.8% C 0.197 H 273.3°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#23139A
RGBrgb(35, 19, 154)
HSLhsl(247, 78%, 34%)
HSVhsv(247, 88%, 60%)
CMYKcmyk(77.3%, 87.7%, 0%, 39.6%)
CIE-LABlab(20.66, 49.13, -68.12)
CIE-LCHlch(20.66, 83.98, 305.80°)
OKLaboklab(33.82% 0.0114 -0.1969)
OKLCHoklch(33.82% 0.197 273.3)
XYZxyz(6.7568, 3.1554, 30.8185)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23139A #8A9A13
analogous
#13479A #23139A #67139A
triadic
#23139A #9A2313 #139A23
tetradic
#23139A #9A1347 #8A9A13 #139A67
square
#23139A #9A1347 #8A9A13 #139A67
split-complementary
#23139A #9A6713 #479A13
monochromatic
#0A062D #170C64 #23139A #2F1AD0 #5440E7

Accessibility & contrast

On white

12.87
#23139A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#23139A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23139A
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23139A#FFFFFF#000000##FFFFFF
##23139A1.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00389E
Deuteranopia (green-blind)
#002B98
Tritanopia (blue-blind)
#00415A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #23139a;
/* rgb */ color: rgb(35, 19, 154);
/* oklch */ color: oklch(33.8% 0.197 273.3);
Tailwind
colors: {
  custom: {
    50: '#7557b9',
    500: '#23139a',
    950: '#000000',
  },
}
SCSS
$custom: #23139a;
$custom-light: #7557b9;
$custom-dark: #000000;
JSON
{
  "hex": "#23139a",
  "rgb": {
    "r": 35,
    "g": 19,
    "b": 154
  },
  "hsl": {
    "h": 247.111,
    "s": 78.035,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33815,
    "c": 0.19725,
    "h": 273.3
  },
  "luminance": 0.03156
}

Semantic roles & 50–950 ramp

primary
#23139A
secondary
#B7C741
accent
#F533DE
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0312
muted
#7C7881

Preview Lab

Preview with #23139A

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

Preview Lab → · Contrast checker → · Palette generator →

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