#17304D#17304D

#17304D is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.5% C 0.061 H 253.5°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#17304D
RGBrgb(23, 48, 77)
HSLhsl(212, 54%, 20%)
HSVhsv(212, 70%, 30%)
CMYKcmyk(70.1%, 37.7%, 0%, 69.8%)
CIE-LABlab(19.36, 1.09, -20.74)
CIE-LCHlch(19.36, 20.77, 273.00°)
OKLaboklab(30.48% -0.0174 -0.0587)
OKLCHoklch(30.48% 0.061 253.5)
XYZxyz(2.7494, 2.8316, 7.4214)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17304D #4D3417
analogous
#174B4D #17304D #19174D
triadic
#17304D #4D1730 #304D17
tetradic
#17304D #4D174B #4D3417 #174D19
square
#17304D #4D174B #4D3417 #174D19
split-complementary
#17304D #4D1917 #4B4D17
monochromatic
#070F18 #09131E #17304D #254D7C #336BAB

Accessibility & contrast

On white

13.41
#17304D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17304D
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17304D#FFFFFF#000000##FFFFFF
##17304D1.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23324E
Deuteranopia (green-blind)
#1C2D4C
Tritanopia (blue-blind)
#00373B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #17304d;
/* rgb */ color: rgb(23, 48, 77);
/* oklch */ color: oklch(30.5% 0.061 253.5);
Tailwind
colors: {
  custom: {
    50: '#5a687f',
    500: '#17304d',
    950: '#000000',
  },
}
SCSS
$custom: #17304d;
$custom-light: #5a687f;
$custom-dark: #000000;
JSON
{
  "hex": "#17304d",
  "rgb": {
    "r": 23,
    "g": 48,
    "b": 77
  },
  "hsl": {
    "h": 212.222,
    "s": 54,
    "l": 19.608
  },
  "oklch": {
    "l": 0.3048,
    "c": 0.06126,
    "h": 253.5
  },
  "luminance": 0.02832
}

Semantic roles & 50–950 ramp

primary
#17304D
secondary
#84633C
accent
#994ADD
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #17304D

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

Preview Lab → · Contrast checker → · Palette generator →

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