#23176D#23176D

#23176D is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.9% C 0.139 H 279.5°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#23176D
RGBrgb(35, 23, 109)
HSLhsl(248, 65%, 26%)
HSVhsv(248, 79%, 43%)
CMYKcmyk(67.9%, 78.9%, 0%, 57.3%)
CIE-LABlab(15.87, 32.98, -47.58)
CIE-LCHlch(15.87, 57.89, 304.73°)
OKLaboklab(28.92% 0.0229 -0.1373)
OKLCHoklch(28.92% 0.139 279.5)
XYZxyz(3.7590, 2.0739, 14.6673)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23176D #616D17
analogous
#17366D #23176D #4E176D
triadic
#23176D #6D2317 #176D23
tetradic
#23176D #6D1736 #616D17 #176D4E
square
#23176D #6D1736 #616D17 #176D4E
split-complementary
#23176D #6D4E17 #366D17
monochromatic
#080519 #130C3A #23176D #3322A0 #432CD2

Accessibility & contrast

On white

14.84
#23176D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23176D
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23176D#FFFFFF#000000##FFFFFF
##23176D1.0014.841.4114.84
#FFFFFF14.841.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6F
Deuteranopia (green-blind)
#00246B
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #23176d;
/* rgb */ color: rgb(35, 23, 109);
/* oklch */ color: oklch(28.9% 0.139 279.5);
Tailwind
colors: {
  custom: {
    50: '#695698',
    500: '#23176d',
    950: '#000000',
  },
}
SCSS
$custom: #23176d;
$custom-light: #695698;
$custom-dark: #000000;
JSON
{
  "hex": "#23176d",
  "rgb": {
    "r": 35,
    "g": 23,
    "b": 109
  },
  "hsl": {
    "h": 248.372,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28921,
    "c": 0.13924,
    "h": 279.5
  },
  "luminance": 0.02074
}

Semantic roles & 50–950 ramp

primary
#23176D
secondary
#95A33D
accent
#E840D1
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #23176D

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

Preview Lab → · Contrast checker → · Palette generator →

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