#17274D#17274D

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

Color values

HEX#17274D
RGBrgb(23, 39, 77)
HSLhsl(222, 54%, 20%)
HSVhsv(222, 70%, 30%)
CMYKcmyk(70.1%, 49.4%, 0%, 69.8%)
CIE-LABlab(16.35, 7.62, -25.51)
CIE-LCHlch(16.35, 26.63, 286.62°)
OKLaboklab(28.15% -0.0065 -0.0729)
OKLCHoklch(28.15% 0.073 264.9)
XYZxyz(2.4180, 2.1688, 7.3109)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17274D #4D3D17
analogous
#17424D #17274D #22174D
triadic
#17274D #4D1727 #274D17
tetradic
#17274D #4D1742 #4D3D17 #174D22
square
#17274D #4D1742 #4D3D17 #174D22
split-complementary
#17274D #4D2217 #424D17
monochromatic
#070C18 #090F1E #17274D #253F7C #3357AB

Accessibility & contrast

On white

14.65
#17274D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17274D
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17274D#FFFFFF#000000##FFFFFF
##17274D1.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152B4E
Deuteranopia (green-blind)
#0C264C
Tritanopia (blue-blind)
#003036
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #17274d;
/* rgb */ color: rgb(23, 39, 77);
/* oklch */ color: oklch(28.1% 0.073 264.9);
Tailwind
colors: {
  custom: {
    50: '#5b607f',
    500: '#17274d',
    950: '#000000',
  },
}
SCSS
$custom: #17274d;
$custom-light: #5b607f;
$custom-dark: #000000;
JSON
{
  "hex": "#17274d",
  "rgb": {
    "r": 23,
    "g": 39,
    "b": 77
  },
  "hsl": {
    "h": 222.222,
    "s": 54,
    "l": 19.608
  },
  "oklch": {
    "l": 0.28149,
    "c": 0.07315,
    "h": 264.9
  },
  "luminance": 0.02169
}

Semantic roles & 50–950 ramp

primary
#17274D
secondary
#846F3C
accent
#B24ADD
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #17274D

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

Preview Lab → · Contrast checker → · Palette generator →

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