#17287C

A color in the Blue, Sky, Navy family

#17287c is a color in the Blue, Sky, Navy family: RGB(23, 40, 124), HSL(230°, 69%, 29%), CMYK(81%, 68%, 0%, 51%). Closest named color: midnightblue. Contrast is 12.88:1 on white and 1.63:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#17287c
RGBrgb(23 40 124)
RGB (legacy)rgb(23, 40, 124)
RGB %rgb(9% 16% 49%)
HSLhsl(230 69% 29%)
HSV / HSBhsv(230, 81%, 49%)
HWBhwb(230 9% 51%)
CMYKcmyk(81%, 68%, 0%, 51%)
CIELAB (D50)lab(19.78 19.95 -50.63)
LCHlch(19.78 54.42 291.5)
OKLaboklab(0.3263 -0.0049 -0.143)
OKLCHoklch(0.3263 0.1431 268.05)
Decimal1517692

Properties

Color ToneBlue, Sky, Navy
Closest named colormidnightblue ΔE 4
Closest web-safe color#003366
Hue230°
Saturation (HSL / HSV)69% / 81%
Lightness (HSL)29%
Brightness or Value (HSV)49%
Luminance (Rec.601 / Rec.709)17% / 17%
Relative luminance (WCAG)0.0315
Red / Green / Blue23 / 40 / 124

WCAG 2.2 Contrast Ratio

On White (#ffffff)
12.88:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.63:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 98.4 / 0 · As background with white / black text: Lc -101.8 / 0

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #17287c;
  --color-brand-oklch: oklch(32.63% 0.1431 268.05);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(23 40 124 / 50%); }
/* Tailwind CSS */
<div class="bg-[#17287c] text-[#17287c] border-[#17287c]">