#17235E#17235E

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

Color values

HEX#17235E
RGBrgb(23, 35, 94)
HSLhsl(230, 61%, 23%)
HSVhsv(230, 76%, 37%)
CMYKcmyk(75.5%, 62.8%, 0%, 63.1%)
CIE-LABlab(16.46, 17.62, -36.76)
CIE-LCHlch(16.46, 40.77, 295.62°)
OKLaboklab(28.67% -0.0006 -0.106)
OKLCHoklch(28.67% 0.106 269.7)
XYZxyz(2.9741, 2.1921, 10.8539)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17235E #5E5217
analogous
#17465E #17235E #2E175E
triadic
#17235E #5E1723 #235E17
tetradic
#17235E #5E1746 #5E5217 #175E2E
square
#17235E #5E1746 #5E5217 #175E2E
split-complementary
#17235E #5E2E17 #465E17
monochromatic
#060919 #0B112D #17235E #23358F #2F48C0

Accessibility & contrast

On white

14.60
#17235E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17235E
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17235E#FFFFFF#000000##FFFFFF
##17235E1.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17235e;
/* rgb */ color: rgb(23, 35, 94);
/* oklch */ color: oklch(28.7% 0.106 269.7);
Tailwind
colors: {
  custom: {
    50: '#5f5d8c',
    500: '#17235e',
    950: '#000000',
  },
}
SCSS
$custom: #17235e;
$custom-light: #5f5d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#17235e",
  "rgb": {
    "r": 23,
    "g": 35,
    "b": 94
  },
  "hsl": {
    "h": 229.859,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.28665,
    "c": 0.106,
    "h": 269.7
  },
  "luminance": 0.02192
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17235E

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

Preview Lab → · Contrast checker → · Palette generator →

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