#23176A#23176A

#23176A is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.6% C 0.135 H 280.1°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#23176A
RGBrgb(35, 23, 106)
HSLhsl(249, 64%, 25%)
HSVhsv(249, 78%, 42%)
CMYKcmyk(67%, 78.3%, 0%, 58.4%)
CIE-LABlab(15.54, 31.96, -46.16)
CIE-LCHlch(15.54, 56.14, 304.70°)
OKLaboklab(28.59% 0.0237 -0.1332)
OKLCHoklch(28.59% 0.135 280.1)
XYZxyz(3.6002, 2.0104, 13.8312)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23176A #5E6A17
analogous
#17346A #23176A #4D176A
triadic
#23176A #6A2317 #176A23
tetradic
#23176A #6A1734 #5E6A17 #176A4D
square
#23176A #6A1734 #5E6A17 #176A4D
split-complementary
#23176A #6A4D17 #346A17
monochromatic
#080519 #120C38 #23176A #34229C #442DCF

Accessibility & contrast

On white

14.98
#23176A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#23176A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23176A
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23176A#FFFFFF#000000##FFFFFF
##23176A1.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6C
Deuteranopia (green-blind)
#002468
Tritanopia (blue-blind)
#002F3F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #23176a;
/* rgb */ color: rgb(35, 23, 106);
/* oklch */ color: oklch(28.6% 0.135 280.1);
Tailwind
colors: {
  custom: {
    50: '#695696',
    500: '#23176a',
    950: '#000000',
  },
}
SCSS
$custom: #23176a;
$custom-light: #695696;
$custom-dark: #000000;
JSON
{
  "hex": "#23176a",
  "rgb": {
    "r": 35,
    "g": 23,
    "b": 106
  },
  "hsl": {
    "h": 248.675,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.2859,
    "c": 0.13529,
    "h": 280.1
  },
  "luminance": 0.02011
}

Semantic roles & 50–950 ramp

primary
#23176A
secondary
#92A03D
accent
#E740CF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #23176A

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

Preview Lab → · Contrast checker → · Palette generator →

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