#23178A#23178A

#23178A is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.176 H 274.9°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#23178A
RGBrgb(35, 23, 138)
HSLhsl(246, 71%, 32%)
HSVhsv(246, 83%, 54%)
CMYKcmyk(74.6%, 83.3%, 0%, 45.9%)
CIE-LABlab(19.24, 42.48, -60.53)
CIE-LCHlch(19.24, 73.95, 305.06°)
OKLaboklab(32.27% 0.0149 -0.175)
OKLCHoklch(32.27% 0.176 274.9)
XYZxyz(5.5855, 2.8045, 24.2868)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23178A #7E8A17
analogous
#17458A #23178A #5D178A
triadic
#23178A #8A2317 #178A23
tetradic
#23178A #8A1745 #7E8A17 #178A5D
square
#23178A #8A1745 #7E8A17 #178A5D
split-complementary
#23178A #8A5D17 #458A17
monochromatic
#080621 #160E56 #23178A #3020BE #4E3DDF

Accessibility & contrast

On white

13.45
#23178A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#23178A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23178A
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23178A#FFFFFF#000000##FFFFFF
##23178A1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348D
Deuteranopia (green-blind)
#002988
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #23178a;
/* rgb */ color: rgb(35, 23, 138);
/* oklch */ color: oklch(32.3% 0.176 274.9);
Tailwind
colors: {
  custom: {
    50: '#7058ad',
    500: '#23178a',
    950: '#000000',
  },
}
SCSS
$custom: #23178a;
$custom-light: #7058ad;
$custom-dark: #000000;
JSON
{
  "hex": "#23178a",
  "rgb": {
    "r": 35,
    "g": 23,
    "b": 138
  },
  "hsl": {
    "h": 246.261,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32269,
    "c": 0.17564,
    "h": 274.9
  },
  "luminance": 0.02805
}

Semantic roles & 50–950 ramp

primary
#23178A
secondary
#B0BE3F
accent
#EE3ADB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #23178A

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

Preview Lab → · Contrast checker → · Palette generator →

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