#17274C#17274C

#17274C is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.1% C 0.071 H 264.6°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#17274C
RGBrgb(23, 39, 76)
HSLhsl(222, 54%, 19%)
HSVhsv(222, 70%, 30%)
CMYKcmyk(69.7%, 48.7%, 0%, 70.2%)
CIE-LABlab(16.28, 7.20, -24.95)
CIE-LCHlch(16.28, 25.96, 286.11°)
OKLaboklab(28.07% -0.0067 -0.0712)
OKLCHoklch(28.07% 0.071 264.6)
XYZxyz(2.3829, 2.1548, 7.1264)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17274C #4C3C17
analogous
#17424C #17274C #22174C
triadic
#17274C #4C1727 #274C17
tetradic
#17274C #4C1742 #4C3C17 #174C22
square
#17274C #4C1742 #4C3C17 #174C22
split-complementary
#17274C #4C2217 #424C17
monochromatic
#070C17 #090F1D #17274C #253F7B #3357AA

Accessibility & contrast

On white

14.68
#17274C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17274C
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17274C#FFFFFF#000000##FFFFFF
##17274C1.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162B4D
Deuteranopia (green-blind)
#0D264B
Tritanopia (blue-blind)
#002F35
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #17274c;
/* rgb */ color: rgb(23, 39, 76);
/* oklch */ color: oklch(28.1% 0.071 264.6);
Tailwind
colors: {
  custom: {
    50: '#5a607e',
    500: '#17274c',
    950: '#000000',
  },
}
SCSS
$custom: #17274c;
$custom-light: #5a607e;
$custom-dark: #000000;
JSON
{
  "hex": "#17274c",
  "rgb": {
    "r": 23,
    "g": 39,
    "b": 76
  },
  "hsl": {
    "h": 221.887,
    "s": 53.535,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28072,
    "c": 0.07149,
    "h": 264.6
  },
  "luminance": 0.02155
}

Semantic roles & 50–950 ramp

primary
#17274C
secondary
#836E3C
accent
#B14BDD
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #17274C

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

Preview Lab → · Contrast checker → · Palette generator →

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