#17274B#17274B

#17274B is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.0% C 0.070 H 264.3°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#17274B
RGBrgb(23, 39, 75)
HSLhsl(222, 53%, 19%)
HSVhsv(222, 69%, 29%)
CMYKcmyk(69.3%, 48%, 0%, 70.6%)
CIE-LABlab(16.21, 6.79, -24.37)
CIE-LCHlch(16.21, 25.30, 285.57°)
OKLaboklab(28% -0.0069 -0.0695)
OKLCHoklch(28% 0.07 264.3)
XYZxyz(2.3484, 2.1410, 6.9447)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17274B #4B3B17
analogous
#17414B #17274B #21174B
triadic
#17274B #4B1727 #274B17
tetradic
#17274B #4B1741 #4B3B17 #174B21
square
#17274B #4B1741 #4B3B17 #174B21
split-complementary
#17274B #4B2117 #414B17
monochromatic
#070C17 #090F1C #17274B #253F7A #3458A9

Accessibility & contrast

On white

14.70
#17274B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17274B
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17274B#FFFFFF#000000##FFFFFF
##17274B1.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17274b;
/* rgb */ color: rgb(23, 39, 75);
/* oklch */ color: oklch(28.0% 0.070 264.3);
Tailwind
colors: {
  custom: {
    50: '#5a607d',
    500: '#17274b',
    950: '#000000',
  },
}
SCSS
$custom: #17274b;
$custom-light: #5a607d;
$custom-dark: #000000;
JSON
{
  "hex": "#17274b",
  "rgb": {
    "r": 23,
    "g": 39,
    "b": 75
  },
  "hsl": {
    "h": 221.538,
    "s": 53.061,
    "l": 19.216
  },
  "oklch": {
    "l": 0.27997,
    "c": 0.06984,
    "h": 264.3
  },
  "luminance": 0.02141
}

Semantic roles & 50–950 ramp

primary
#17274B
secondary
#826C3C
accent
#B04BDC
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #17274B

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

Preview Lab → · Contrast checker → · Palette generator →

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