#23176B#23176B

#23176B is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.7% C 0.137 H 279.9°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#23176B
RGBrgb(35, 23, 107)
HSLhsl(249, 65%, 25%)
HSVhsv(249, 79%, 42%)
CMYKcmyk(67.3%, 78.5%, 0%, 58%)
CIE-LABlab(15.65, 32.30, -46.63)
CIE-LCHlch(15.65, 56.72, 304.71°)
OKLaboklab(28.7% 0.0235 -0.1346)
OKLCHoklch(28.7% 0.137 279.9)
XYZxyz(3.6525, 2.0314, 14.1067)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23176B #5F6B17
analogous
#17356B #23176B #4D176B
triadic
#23176B #6B2317 #176B23
tetradic
#23176B #6B1735 #5F6B17 #176B4D
square
#23176B #6B1735 #5F6B17 #176B4D
split-complementary
#23176B #6B4D17 #356B17
monochromatic
#080519 #130C39 #23176B #33229D #442DD0

Accessibility & contrast

On white

14.93
#23176B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#23176B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23176B
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23176B#FFFFFF#000000##FFFFFF
##23176B1.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6D
Deuteranopia (green-blind)
#002469
Tritanopia (blue-blind)
#002F40
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #23176b;
/* rgb */ color: rgb(35, 23, 107);
/* oklch */ color: oklch(28.7% 0.137 279.9);
Tailwind
colors: {
  custom: {
    50: '#695696',
    500: '#23176b',
    950: '#000000',
  },
}
SCSS
$custom: #23176b;
$custom-light: #695696;
$custom-dark: #000000;
JSON
{
  "hex": "#23176b",
  "rgb": {
    "r": 35,
    "g": 23,
    "b": 107
  },
  "hsl": {
    "h": 248.571,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.287,
    "c": 0.13661,
    "h": 279.9
  },
  "luminance": 0.02032
}

Semantic roles & 50–950 ramp

primary
#23176B
secondary
#93A13D
accent
#E840D0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #23176B

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

Preview Lab → · Contrast checker → · Palette generator →

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