#17304E#17304E

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

Color values

HEX#17304E
RGBrgb(23, 48, 78)
HSLhsl(213, 54%, 20%)
HSVhsv(213, 71%, 31%)
CMYKcmyk(70.5%, 38.5%, 0%, 69.4%)
CIE-LABlab(19.42, 1.49, -21.32)
CIE-LCHlch(19.42, 21.37, 274.00°)
OKLaboklab(30.55% -0.0171 -0.0604)
OKLCHoklch(30.55% 0.063 254.2)
XYZxyz(2.7849, 2.8459, 7.6088)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17304E #4E3517
analogous
#174C4E #17304E #1A174E
triadic
#17304E #4E1730 #304E17
tetradic
#17304E #4E174C #4E3517 #174E1A
square
#17304E #4E174C #4E3517 #174E1A
split-complementary
#17304E #4E1A17 #4C4E17
monochromatic
#070F18 #09131F #17304E #254D7D #336AAD

Accessibility & contrast

On white

13.38
#17304E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17304E
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17304E#FFFFFF#000000##FFFFFF
##17304E1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17304e;
/* rgb */ color: rgb(23, 48, 78);
/* oklch */ color: oklch(30.5% 0.063 254.2);
Tailwind
colors: {
  custom: {
    50: '#5b687f',
    500: '#17304e',
    950: '#000000',
  },
}
SCSS
$custom: #17304e;
$custom-light: #5b687f;
$custom-dark: #000000;
JSON
{
  "hex": "#17304e",
  "rgb": {
    "r": 23,
    "g": 48,
    "b": 78
  },
  "hsl": {
    "h": 212.727,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30546,
    "c": 0.0628,
    "h": 254.2
  },
  "luminance": 0.02846
}

Semantic roles & 50–950 ramp

primary
#17304E
secondary
#85643C
accent
#9B4ADE
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #17304E

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

Preview Lab → · Contrast checker → · Palette generator →

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