#23177D#23177D

#23177D is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.160 H 276.7°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#23177D
RGBrgb(35, 23, 125)
HSLhsl(247, 69%, 29%)
HSVhsv(247, 82%, 49%)
CMYKcmyk(72%, 81.6%, 0%, 51%)
CIE-LABlab(17.69, 38.30, -54.88)
CIE-LCHlch(17.69, 66.92, 304.91°)
OKLaboklab(30.74% 0.0186 -0.1586)
OKLCHoklch(30.74% 0.16 276.7)
XYZxyz(4.7000, 2.4504, 19.6233)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23177D #717D17
analogous
#173E7D #23177D #56177D
triadic
#23177D #7D2317 #177D23
tetradic
#23177D #7D173E #717D17 #177D56
square
#23177D #7D173E #717D17 #177D56
split-complementary
#23177D #7D5617 #3E7D17
monochromatic
#07051A #150D49 #23177D #3121B1 #4835DA

Accessibility & contrast

On white

14.09
#23177D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#23177D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23177D
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23177D#FFFFFF#000000##FFFFFF
##23177D1.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003080
Deuteranopia (green-blind)
#00277B
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #23177d;
/* rgb */ color: rgb(35, 23, 125);
/* oklch */ color: oklch(30.7% 0.160 276.7);
Tailwind
colors: {
  custom: {
    50: '#6d57a4',
    500: '#23177d',
    950: '#000000',
  },
}
SCSS
$custom: #23177d;
$custom-light: #6d57a4;
$custom-dark: #000000;
JSON
{
  "hex": "#23177d",
  "rgb": {
    "r": 35,
    "g": 23,
    "b": 125
  },
  "hsl": {
    "h": 247.059,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30738,
    "c": 0.15971,
    "h": 276.7
  },
  "luminance": 0.02451
}

Semantic roles & 50–950 ramp

primary
#23177D
secondary
#A4B23E
accent
#EC3CD7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #23177D

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

Preview Lab → · Contrast checker → · Palette generator →

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