#17274A#17274A

#17274A is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.9% C 0.068 H 264.0°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#17274A
RGBrgb(23, 39, 74)
HSLhsl(221, 53%, 19%)
HSVhsv(221, 69%, 29%)
CMYKcmyk(68.9%, 47.3%, 0%, 71%)
CIE-LABlab(16.14, 6.38, -23.80)
CIE-LCHlch(16.14, 24.64, 285.01°)
OKLaboklab(27.92% -0.0071 -0.0678)
OKLCHoklch(27.92% 0.068 264)
XYZxyz(2.3145, 2.1274, 6.7659)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17274A #4A3A17
analogous
#17414A #17274A #21174A
triadic
#17274A #4A1727 #274A17
tetradic
#17274A #4A1741 #4A3A17 #174A21
square
#17274A #4A1741 #4A3A17 #174A21
split-complementary
#17274A #4A2117 #414A17
monochromatic
#070C17 #080E1B #17274A #264079 #3458A7

Accessibility & contrast

On white

14.73
#17274A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#17274A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17274A
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17274A#FFFFFF#000000##FFFFFF
##17274A1.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172B4B
Deuteranopia (green-blind)
#102649
Tritanopia (blue-blind)
#002F34
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #17274a;
/* rgb */ color: rgb(23, 39, 74);
/* oklch */ color: oklch(27.9% 0.068 264.0);
Tailwind
colors: {
  custom: {
    50: '#5a607d',
    500: '#17274a',
    950: '#000000',
  },
}
SCSS
$custom: #17274a;
$custom-light: #5a607d;
$custom-dark: #000000;
JSON
{
  "hex": "#17274a",
  "rgb": {
    "r": 23,
    "g": 39,
    "b": 74
  },
  "hsl": {
    "h": 221.176,
    "s": 52.577,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27922,
    "c": 0.06819,
    "h": 264
  },
  "luminance": 0.02128
}

Semantic roles & 50–950 ramp

primary
#17274A
secondary
#816B3C
accent
#AF4CDC
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040409
muted
#79797B

Preview Lab

Preview with #17274A

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

Preview Lab → · Contrast checker → · Palette generator →

#17274A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva