#23168B#23168B

#23168B is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.178 H 274.8°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#23168B
RGBrgb(35, 22, 139)
HSLhsl(247, 73%, 32%)
HSVhsv(247, 84%, 55%)
CMYKcmyk(74.8%, 84.2%, 0%, 45.5%)
CIE-LABlab(19.20, 43.27, -61.22)
CIE-LCHlch(19.20, 74.97, 305.25°)
OKLaboklab(32.28% 0.015 -0.177)
OKLCHoklch(32.28% 0.178 274.8)
XYZxyz(5.6387, 2.7947, 24.6633)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23168B #7E8B16
analogous
#16448B #23168B #5E168B
triadic
#23168B #8B2316 #168B23
tetradic
#23168B #8B1644 #7E8B16 #168B5E
square
#23168B #8B1644 #7E8B16 #168B5E
split-complementary
#23168B #8B5E16 #448B16
monochromatic
#080521 #160E56 #23168B #301EC0 #4E3BE0

Accessibility & contrast

On white

13.47
#23168B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#23168B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23168B
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23168B#FFFFFF#000000##FFFFFF
##23168B1.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348E
Deuteranopia (green-blind)
#002989
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #23168b;
/* rgb */ color: rgb(35, 22, 139);
/* oklch */ color: oklch(32.3% 0.178 274.8);
Tailwind
colors: {
  custom: {
    50: '#7158ae',
    500: '#23168b',
    950: '#000000',
  },
}
SCSS
$custom: #23168b;
$custom-light: #7158ae;
$custom-dark: #000000;
JSON
{
  "hex": "#23168b",
  "rgb": {
    "r": 35,
    "g": 22,
    "b": 139
  },
  "hsl": {
    "h": 246.667,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32275,
    "c": 0.17764,
    "h": 274.8
  },
  "luminance": 0.02795
}

Semantic roles & 50–950 ramp

primary
#23168B
secondary
#B0BF3E
accent
#EF38DB
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090310
muted
#7B787F

Preview Lab

Preview with #23168B

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

Preview Lab → · Contrast checker → · Palette generator →

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