#23179F#23179F

#23179F is a dark, highly saturated blue. Relative luminance 0.035; OKLCH L 34.8% C 0.200 H 272.6°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#23179F
RGBrgb(35, 23, 159)
HSLhsl(245, 75%, 36%)
HSVhsv(245, 86%, 62%)
CMYKcmyk(78%, 85.5%, 0%, 37.6%)
CIE-LABlab(21.84, 48.98, -69.20)
CIE-LCHlch(21.84, 84.78, 305.29°)
OKLaboklab(34.81% 0.0091 -0.2001)
OKLCHoklch(34.81% 0.2 272.6)
XYZxyz(7.2554, 3.4725, 33.0820)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23179F #939F17
analogous
#174F9F #23179F #67179F
triadic
#23179F #9F2317 #179F23
tetradic
#23179F #9F174F #939F17 #179F67
square
#23179F #9F174F #939F17 #179F67
split-complementary
#23179F #9F6717 #4F9F17
monochromatic
#0B0834 #170F6A #23179F #2F1FD4 #594BE5

Accessibility & contrast

On white

12.39
#23179F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#23179F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23179F
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23179F#FFFFFF#000000##FFFFFF
##23179F1.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA3
Deuteranopia (green-blind)
#002E9D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #23179f;
/* rgb */ color: rgb(35, 23, 159);
/* oklch */ color: oklch(34.8% 0.200 272.6);
Tailwind
colors: {
  custom: {
    50: '#765abd',
    500: '#23179f',
    950: '#000000',
  },
}
SCSS
$custom: #23179f;
$custom-light: #765abd;
$custom-dark: #000000;
JSON
{
  "hex": "#23179f",
  "rgb": {
    "r": 35,
    "g": 23,
    "b": 159
  },
  "hsl": {
    "h": 245.294,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3481,
    "c": 0.20035,
    "h": 272.6
  },
  "luminance": 0.03473
}

Semantic roles & 50–950 ramp

primary
#23179F
secondary
#BCC74B
accent
#F136E1
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #23179F

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

Preview Lab → · Contrast checker → · Palette generator →

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