#23167D#23167D

#23167D is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.6% C 0.161 H 276.8°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#23167D
RGBrgb(35, 22, 125)
HSLhsl(248, 70%, 29%)
HSVhsv(248, 82%, 49%)
CMYKcmyk(72%, 82.4%, 0%, 51%)
CIE-LABlab(17.51, 38.82, -55.18)
CIE-LCHlch(17.51, 67.46, 305.13°)
OKLaboklab(30.61% 0.0191 -0.1595)
OKLCHoklch(30.61% 0.161 276.8)
XYZxyz(4.6805, 2.4114, 19.6168)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23167D #707D16
analogous
#163D7D #23167D #57167D
triadic
#23167D #7D2316 #167D23
tetradic
#23167D #7D163D #707D16 #167D57
square
#23167D #7D163D #707D16 #167D57
split-complementary
#23167D #7D5716 #3D7D16
monochromatic
#07051A #140D49 #23167D #321FB1 #4832DB

Accessibility & contrast

On white

14.17
#23167D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#23167D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23167D
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23167D#FFFFFF#000000##FFFFFF
##23167D1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F80
Deuteranopia (green-blind)
#00267B
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #23167d;
/* rgb */ color: rgb(35, 22, 125);
/* oklch */ color: oklch(30.6% 0.161 276.8);
Tailwind
colors: {
  custom: {
    50: '#6d56a4',
    500: '#23167d',
    950: '#000000',
  },
}
SCSS
$custom: #23167d;
$custom-light: #6d56a4;
$custom-dark: #000000;
JSON
{
  "hex": "#23167d",
  "rgb": {
    "r": 35,
    "g": 22,
    "b": 125
  },
  "hsl": {
    "h": 247.573,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30613,
    "c": 0.1606,
    "h": 276.8
  },
  "luminance": 0.02412
}

Semantic roles & 50–950 ramp

primary
#23167D
secondary
#A3B23D
accent
#ED3BD6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #23167D

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

Preview Lab → · Contrast checker → · Palette generator →

#23167D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva