#23176F#23176F

#23176F is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.142 H 279.1°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#23176F
RGBrgb(35, 23, 111)
HSLhsl(248, 66%, 26%)
HSVhsv(248, 79%, 44%)
CMYKcmyk(68.5%, 79.3%, 0%, 56.5%)
CIE-LABlab(16.09, 33.65, -48.51)
CIE-LCHlch(16.09, 59.04, 304.75°)
OKLaboklab(29.14% 0.0224 -0.1401)
OKLCHoklch(29.14% 0.142 279.1)
XYZxyz(3.8679, 2.1175, 15.2407)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23176F #636F17
analogous
#17376F #23176F #4F176F
triadic
#23176F #6F2317 #176F23
tetradic
#23176F #6F1737 #636F17 #176F4F
square
#23176F #6F1737 #636F17 #176F4F
split-complementary
#23176F #6F4F17 #376F17
monochromatic
#080519 #130C3C #23176F #3322A2 #442DD3

Accessibility & contrast

On white

14.75
#23176F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#23176F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23176F
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23176F#FFFFFF#000000##FFFFFF
##23176F1.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B72
Deuteranopia (green-blind)
#00246D
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #23176f;
/* rgb */ color: rgb(35, 23, 111);
/* oklch */ color: oklch(29.1% 0.142 279.1);
Tailwind
colors: {
  custom: {
    50: '#6a5699',
    500: '#23176f',
    950: '#000000',
  },
}
SCSS
$custom: #23176f;
$custom-light: #6a5699;
$custom-dark: #000000;
JSON
{
  "hex": "#23176f",
  "rgb": {
    "r": 35,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 248.182,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29143,
    "c": 0.14185,
    "h": 279.1
  },
  "luminance": 0.02118
}

Semantic roles & 50–950 ramp

primary
#23176F
secondary
#97A53D
accent
#E93FD2
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #23176F

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

Preview Lab → · Contrast checker → · Palette generator →

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