#17235B#17235B

#17235B is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.4% C 0.101 H 269.6°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#17235B
RGBrgb(23, 35, 91)
HSLhsl(229, 60%, 22%)
HSVhsv(229, 75%, 36%)
CMYKcmyk(74.7%, 61.5%, 0%, 64.3%)
CIE-LABlab(16.20, 16.39, -35.19)
CIE-LCHlch(16.20, 38.82, 294.98°)
OKLaboklab(28.39% -0.0007 -0.1014)
OKLCHoklch(28.39% 0.101 269.6)
XYZxyz(2.8421, 2.1393, 10.1586)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17235B #5B4F17
analogous
#17455B #17235B #2D175B
triadic
#17235B #5B1723 #235B17
tetradic
#17235B #5B1745 #5B4F17 #175B2D
square
#17235B #5B1745 #5B4F17 #175B2D
split-complementary
#17235B #5B2D17 #455B17
monochromatic
#060918 #0B102A #17235B #23368C #3049BD

Accessibility & contrast

On white

14.71
#17235B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#17235B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17235B
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17235B#FFFFFF#000000##FFFFFF
##17235B1.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5D
Deuteranopia (green-blind)
#00255A
Tritanopia (blue-blind)
#00313B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #17235b;
/* rgb */ color: rgb(23, 35, 91);
/* oklch */ color: oklch(28.4% 0.101 269.6);
Tailwind
colors: {
  custom: {
    50: '#5e5d8a',
    500: '#17235b',
    950: '#000000',
  },
}
SCSS
$custom: #17235b;
$custom-light: #5e5d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#17235b",
  "rgb": {
    "r": 23,
    "g": 35,
    "b": 91
  },
  "hsl": {
    "h": 229.412,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.28386,
    "c": 0.10138,
    "h": 269.6
  },
  "luminance": 0.0214
}

Semantic roles & 50–950 ramp

primary
#17235B
secondary
#92833C
accent
#C745E3
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #17235B

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

Preview Lab → · Contrast checker → · Palette generator →

#17235B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva