#23167C#23167C

#23167C is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.5% C 0.159 H 277.0°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#23167C
RGBrgb(35, 22, 124)
HSLhsl(248, 70%, 29%)
HSVhsv(248, 82%, 49%)
CMYKcmyk(71.8%, 82.3%, 0%, 51.4%)
CIE-LABlab(17.39, 38.49, -54.73)
CIE-LCHlch(17.39, 66.91, 305.12°)
OKLaboklab(30.5% 0.0194 -0.1582)
OKLCHoklch(30.5% 0.159 277)
XYZxyz(4.6170, 2.3860, 19.2821)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23167C #6F7C16
analogous
#163C7C #23167C #56167C
triadic
#23167C #7C2316 #167C23
tetradic
#23167C #7C163C #6F7C16 #167C56
square
#23167C #7C163C #6F7C16 #167C56
split-complementary
#23167C #7C5616 #3C7C16
monochromatic
#07051A #140D48 #23167C #321FB0 #4732DB

Accessibility & contrast

On white

14.22
#23167C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23167C
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23167C#FFFFFF#000000##FFFFFF
##23167C1.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7F
Deuteranopia (green-blind)
#00267A
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #23167c;
/* rgb */ color: rgb(35, 22, 124);
/* oklch */ color: oklch(30.5% 0.159 277.0);
Tailwind
colors: {
  custom: {
    50: '#6d56a3',
    500: '#23167c',
    950: '#000000',
  },
}
SCSS
$custom: #23167c;
$custom-light: #6d56a3;
$custom-dark: #000000;
JSON
{
  "hex": "#23167c",
  "rgb": {
    "r": 35,
    "g": 22,
    "b": 124
  },
  "hsl": {
    "h": 247.647,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30496,
    "c": 0.15936,
    "h": 277
  },
  "luminance": 0.02386
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #23167C

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

Preview Lab → · Contrast checker → · Palette generator →

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