#23168E#23168E

#23168E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.6% C 0.181 H 274.5°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#23168E
RGBrgb(35, 22, 142)
HSLhsl(247, 73%, 32%)
HSVhsv(247, 85%, 56%)
CMYKcmyk(75.4%, 84.5%, 0%, 44.3%)
CIE-LABlab(19.57, 44.21, -62.48)
CIE-LCHlch(19.57, 76.54, 305.28°)
OKLaboklab(32.64% 0.0141 -0.1807)
OKLCHoklch(32.64% 0.181 274.5)
XYZxyz(5.8609, 2.8835, 25.8336)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23168E #818E16
analogous
#16458E #23168E #5F168E
triadic
#23168E #8E2316 #168E23
tetradic
#23168E #8E1645 #818E16 #168E5F
square
#23168E #8E1645 #818E16 #168E5F
split-complementary
#23168E #8E5F16 #458E16
monochromatic
#090624 #160E59 #23168E #301EC3 #4F3DE1

Accessibility & contrast

On white

13.32
#23168E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#23168E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23168E
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23168E#FFFFFF#000000##FFFFFF
##23168E1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003591
Deuteranopia (green-blind)
#002A8C
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #23168e;
/* rgb */ color: rgb(35, 22, 142);
/* oklch */ color: oklch(32.6% 0.181 274.5);
Tailwind
colors: {
  custom: {
    50: '#7158b0',
    500: '#23168e',
    950: '#000000',
  },
}
SCSS
$custom: #23168e;
$custom-light: #7158b0;
$custom-dark: #000000;
JSON
{
  "hex": "#23168e",
  "rgb": {
    "r": 35,
    "g": 22,
    "b": 142
  },
  "hsl": {
    "h": 246.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32637,
    "c": 0.18122,
    "h": 274.5
  },
  "luminance": 0.02884
}

Semantic roles & 50–950 ramp

primary
#23168E
secondary
#B3C13F
accent
#F038DC
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #23168E

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

Preview Lab → · Contrast checker → · Palette generator →

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