#23177F#23177F

#23177F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.0% C 0.162 H 276.4°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#23177F
RGBrgb(35, 23, 127)
HSLhsl(247, 69%, 29%)
HSVhsv(247, 82%, 50%)
CMYKcmyk(72.4%, 81.9%, 0%, 50.2%)
CIE-LABlab(17.93, 38.95, -55.76)
CIE-LCHlch(17.93, 68.02, 304.93°)
OKLaboklab(30.97% 0.018 -0.1612)
OKLCHoklch(30.97% 0.162 276.4)
XYZxyz(4.8290, 2.5020, 20.3030)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23177F #737F17
analogous
#173F7F #23177F #57177F
triadic
#23177F #7F2317 #177F23
tetradic
#23177F #7F173F #737F17 #177F57
square
#23177F #7F173F #737F17 #177F57
split-complementary
#23177F #7F5717 #3F7F17
monochromatic
#07051A #150E4B #23177F #3120B3 #4936DB

Accessibility & contrast

On white

14.00
#23177F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#23177F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23177F
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23177F#FFFFFF#000000##FFFFFF
##23177F1.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003082
Deuteranopia (green-blind)
#00277D
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #23177f;
/* rgb */ color: rgb(35, 23, 127);
/* oklch */ color: oklch(31.0% 0.162 276.4);
Tailwind
colors: {
  custom: {
    50: '#6e57a5',
    500: '#23177f',
    950: '#000000',
  },
}
SCSS
$custom: #23177f;
$custom-light: #6e57a5;
$custom-dark: #000000;
JSON
{
  "hex": "#23177f",
  "rgb": {
    "r": 35,
    "g": 23,
    "b": 127
  },
  "hsl": {
    "h": 246.923,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.30971,
    "c": 0.1622,
    "h": 276.4
  },
  "luminance": 0.02502
}

Semantic roles & 50–950 ramp

primary
#23177F
secondary
#A6B43E
accent
#EC3CD8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #23177F

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

Preview Lab → · Contrast checker → · Palette generator →

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