#23168A#23168A

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

Color values

HEX#23168A
RGBrgb(35, 22, 138)
HSLhsl(247, 73%, 31%)
HSVhsv(247, 84%, 54%)
CMYKcmyk(74.6%, 84.1%, 0%, 45.9%)
CIE-LABlab(19.08, 42.96, -60.80)
CIE-LCHlch(19.08, 74.45, 305.24°)
OKLaboklab(32.16% 0.0153 -0.1758)
OKLCHoklch(32.16% 0.176 275)
XYZxyz(5.5660, 2.7656, 24.2803)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23168A #7D8A16
analogous
#16438A #23168A #5D168A
triadic
#23168A #8A2316 #168A23
tetradic
#23168A #8A1643 #7D8A16 #168A5D
square
#23168A #8A1643 #7D8A16 #168A5D
split-complementary
#23168A #8A5D16 #438A16
monochromatic
#080520 #160E55 #23168A #301EBF #4D3BE0

Accessibility & contrast

On white

13.52
#23168A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#23168A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23168A
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23168A#FFFFFF#000000##FFFFFF
##23168A1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #23168a;
/* rgb */ color: rgb(35, 22, 138);
/* oklch */ color: oklch(32.2% 0.176 275.0);
Tailwind
colors: {
  custom: {
    50: '#7057ad',
    500: '#23168a',
    950: '#000000',
  },
}
SCSS
$custom: #23168a;
$custom-light: #7057ad;
$custom-dark: #000000;
JSON
{
  "hex": "#23168a",
  "rgb": {
    "r": 35,
    "g": 22,
    "b": 138
  },
  "hsl": {
    "h": 246.724,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32155,
    "c": 0.17645,
    "h": 275
  },
  "luminance": 0.02766
}

Semantic roles & 50–950 ramp

primary
#23168A
secondary
#AFBE3E
accent
#EF39DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #23168A

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

Preview Lab → · Contrast checker → · Palette generator →

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