#23177A#23177A

#23177A is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.156 H 277.2°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#23177A
RGBrgb(35, 23, 122)
HSLhsl(247, 68%, 28%)
HSVhsv(247, 81%, 48%)
CMYKcmyk(71.3%, 81.1%, 0%, 52.2%)
CIE-LABlab(17.34, 37.31, -53.54)
CIE-LCHlch(17.34, 65.26, 304.87°)
OKLaboklab(30.39% 0.0194 -0.1547)
OKLCHoklch(30.39% 0.156 277.2)
XYZxyz(4.5112, 2.3749, 18.6292)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23177A #6E7A17
analogous
#173C7A #23177A #54177A
triadic
#23177A #7A2317 #177A23
tetradic
#23177A #7A173C #6E7A17 #177A54
square
#23177A #7A173C #6E7A17 #177A54
split-complementary
#23177A #7A5417 #3C7A17
monochromatic
#07051A #140D47 #23177A #3221AD #4733D9

Accessibility & contrast

On white

14.24
#23177A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#23177A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23177A
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23177A#FFFFFF#000000##FFFFFF
##23177A1.0014.241.4814.24
#FFFFFF14.241.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7D
Deuteranopia (green-blind)
#002678
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #23177a;
/* rgb */ color: rgb(35, 23, 122);
/* oklch */ color: oklch(30.4% 0.156 277.2);
Tailwind
colors: {
  custom: {
    50: '#6c57a2',
    500: '#23177a',
    950: '#000000',
  },
}
SCSS
$custom: #23177a;
$custom-light: #6c57a2;
$custom-dark: #000000;
JSON
{
  "hex": "#23177a",
  "rgb": {
    "r": 35,
    "g": 23,
    "b": 122
  },
  "hsl": {
    "h": 247.273,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30391,
    "c": 0.15594,
    "h": 277.2
  },
  "luminance": 0.02375
}

Semantic roles & 50–950 ramp

primary
#23177A
secondary
#A1AF3E
accent
#EB3DD6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #23177A

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

Preview Lab → · Contrast checker → · Palette generator →

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