#17235F#17235F

#17235F is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.8% C 0.108 H 269.7°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#17235F
RGBrgb(23, 35, 95)
HSLhsl(230, 61%, 23%)
HSVhsv(230, 76%, 37%)
CMYKcmyk(75.8%, 63.2%, 0%, 62.7%)
CIE-LABlab(16.55, 18.04, -37.28)
CIE-LCHlch(16.55, 41.41, 295.82°)
OKLaboklab(28.76% -0.0006 -0.1075)
OKLCHoklch(28.76% 0.108 269.7)
XYZxyz(3.0192, 2.2101, 11.0917)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17235F #5F5317
analogous
#17475F #17235F #2F175F
triadic
#17235F #5F1723 #235F17
tetradic
#17235F #5F1747 #5F5317 #175F2F
square
#17235F #5F1747 #5F5317 #175F2F
split-complementary
#17235F #5F2F17 #475F17
monochromatic
#060919 #0B112E #17235F #233590 #2F47C2

Accessibility & contrast

On white

14.56
#17235F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#17235F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17235F
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17235F#FFFFFF#000000##FFFFFF
##17235F1.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C61
Deuteranopia (green-blind)
#00265E
Tritanopia (blue-blind)
#00323D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #17235f;
/* rgb */ color: rgb(23, 35, 95);
/* oklch */ color: oklch(28.8% 0.108 269.7);
Tailwind
colors: {
  custom: {
    50: '#5f5d8d',
    500: '#17235f',
    950: '#000000',
  },
}
SCSS
$custom: #17235f;
$custom-light: #5f5d8d;
$custom-dark: #000000;
JSON
{
  "hex": "#17235f",
  "rgb": {
    "r": 23,
    "g": 35,
    "b": 95
  },
  "hsl": {
    "h": 230,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.28759,
    "c": 0.10752,
    "h": 269.7
  },
  "luminance": 0.0221
}

Semantic roles & 50–950 ramp

primary
#17235F
secondary
#96873C
accent
#C944E4
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #17235F

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

Preview Lab → · Contrast checker → · Palette generator →

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