#17304F#17304F

#17304F is a dark, moderate cyan. Relative luminance 0.029; OKLCH L 30.6% C 0.064 H 254.8°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#17304F
RGBrgb(23, 48, 79)
HSLhsl(213, 55%, 20%)
HSVhsv(213, 71%, 31%)
CMYKcmyk(70.9%, 39.2%, 0%, 69%)
CIE-LABlab(19.48, 1.90, -21.89)
CIE-LCHlch(19.48, 21.98, 274.95°)
OKLaboklab(30.61% -0.0168 -0.0621)
OKLCHoklch(30.61% 0.064 254.8)
XYZxyz(2.8211, 2.8603, 7.7990)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17304F #4F3617
analogous
#174C4F #17304F #1A174F
triadic
#17304F #4F1730 #304F17
tetradic
#17304F #4F174C #4F3617 #174F1A
square
#17304F #4F174C #4F3617 #174F1A
split-complementary
#17304F #4F1A17 #4C4F17
monochromatic
#070E18 #091320 #17304F #254D7E #336AAE

Accessibility & contrast

On white

13.36
#17304F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#17304F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17304F
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17304F#FFFFFF#000000##FFFFFF
##17304F1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223250
Deuteranopia (green-blind)
#1B2D4E
Tritanopia (blue-blind)
#00373B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #17304f;
/* rgb */ color: rgb(23, 48, 79);
/* oklch */ color: oklch(30.6% 0.064 254.8);
Tailwind
colors: {
  custom: {
    50: '#5b6880',
    500: '#17304f',
    950: '#000000',
  },
}
SCSS
$custom: #17304f;
$custom-light: #5b6880;
$custom-dark: #000000;
JSON
{
  "hex": "#17304f",
  "rgb": {
    "r": 23,
    "g": 48,
    "b": 79
  },
  "hsl": {
    "h": 213.214,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.30612,
    "c": 0.06435,
    "h": 254.8
  },
  "luminance": 0.02861
}

Semantic roles & 50–950 ramp

primary
#17304F
secondary
#86653C
accent
#9C4ADE
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #17304F

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

Preview Lab → · Contrast checker → · Palette generator →

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