#17234F#17234F

#17234F is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.3% C 0.082 H 268.9°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#17234F
RGBrgb(23, 35, 79)
HSLhsl(227, 55%, 20%)
HSVhsv(227, 71%, 31%)
CMYKcmyk(70.9%, 55.7%, 0%, 69%)
CIE-LABlab(15.21, 11.43, -28.70)
CIE-LCHlch(15.21, 30.89, 291.72°)
OKLaboklab(27.33% -0.0015 -0.0823)
OKLCHoklch(27.33% 0.082 268.9)
XYZxyz(2.3652, 1.9485, 7.6471)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17234F #4F4317
analogous
#173F4F #17234F #27174F
triadic
#17234F #4F1723 #234F17
tetradic
#17234F #4F173F #4F4317 #174F27
square
#17234F #4F173F #4F4317 #174F27
split-complementary
#17234F #4F2717 #3F4F17
monochromatic
#070A18 #090E20 #17234F #25387E #334DAE

Accessibility & contrast

On white

15.11
#17234F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#17234F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17234F
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17234F#FFFFFF#000000##FFFFFF
##17234F1.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2951
Deuteranopia (green-blind)
#00244E
Tritanopia (blue-blind)
#002D35
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #17234f;
/* rgb */ color: rgb(23, 35, 79);
/* oklch */ color: oklch(27.3% 0.082 268.9);
Tailwind
colors: {
  custom: {
    50: '#5b5d81',
    500: '#17234f',
    950: '#000000',
  },
}
SCSS
$custom: #17234f;
$custom-light: #5b5d81;
$custom-dark: #000000;
JSON
{
  "hex": "#17234f",
  "rgb": {
    "r": 23,
    "g": 35,
    "b": 79
  },
  "hsl": {
    "h": 227.143,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.27331,
    "c": 0.08229,
    "h": 268.9
  },
  "luminance": 0.01949
}

Semantic roles & 50–950 ramp

primary
#17234F
secondary
#86763C
accent
#BE4ADE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #17234F

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

Preview Lab → · Contrast checker → · Palette generator →

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