#17273E#17273E

#17273E is a dark, muted blue. Relative luminance 0.020; OKLCH L 27.1% C 0.048 H 257.5°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#17273E
RGBrgb(23, 39, 62)
HSLhsl(215, 46%, 17%)
HSVhsv(215, 63%, 24%)
CMYKcmyk(62.9%, 37.1%, 0%, 75.7%)
CIE-LABlab(15.39, 1.55, -16.71)
CIE-LCHlch(15.39, 16.79, 275.29°)
OKLaboklab(27.09% -0.0105 -0.0471)
OKLCHoklch(27.09% 0.048 257.5)
XYZxyz(1.9481, 1.9808, 4.8362)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17273E #3E2E17
analogous
#173B3E #17273E #1B173E
triadic
#17273E #3E1727 #273E17
tetradic
#17273E #3E173B #3E2E17 #173E1B
square
#17273E #3E173B #3E2E17 #173E1B
split-complementary
#17273E #3E1B17 #3B3E17
monochromatic
#080E16 #080E16 #17273E #28436B #385F97

Accessibility & contrast

On white

15.04
#17273E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#17273E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17273E
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17273E#FFFFFF#000000##FFFFFF
##17273E1.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E293F
Deuteranopia (green-blind)
#19253E
Tritanopia (blue-blind)
#022C2F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #17273e;
/* rgb */ color: rgb(23, 39, 62);
/* oklch */ color: oklch(27.1% 0.048 257.5);
Tailwind
colors: {
  custom: {
    50: '#576073',
    500: '#17273e',
    950: '#000000',
  },
}
SCSS
$custom: #17273e;
$custom-light: #576073;
$custom-dark: #000000;
JSON
{
  "hex": "#17273e",
  "rgb": {
    "r": 23,
    "g": 39,
    "b": 62
  },
  "hsl": {
    "h": 215.385,
    "s": 45.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.2709,
    "c": 0.04826,
    "h": 257.5
  },
  "luminance": 0.01981
}

Semantic roles & 50–950 ramp

primary
#17273E
secondary
#755D3C
accent
#A052D6
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030508
muted
#78797B

Preview Lab

Preview with #17273E

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

Preview Lab → · Contrast checker → · Palette generator →

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