#17275F#17275F

#17275F is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.6% C 0.102 H 267.7°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#17275F
RGBrgb(23, 39, 95)
HSLhsl(227, 61%, 23%)
HSVhsv(227, 76%, 37%)
CMYKcmyk(75.8%, 58.9%, 0%, 62.7%)
CIE-LABlab(17.73, 15.10, -35.36)
CIE-LCHlch(17.73, 38.45, 293.12°)
OKLaboklab(29.64% -0.0041 -0.1018)
OKLCHoklch(29.64% 0.102 267.7)
XYZxyz(3.1437, 2.4591, 11.1332)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17275F #5F4F17
analogous
#174B5F #17275F #2B175F
triadic
#17275F #5F1727 #275F17
tetradic
#17275F #5F174B #5F4F17 #175F2B
square
#17275F #5F174B #5F4F17 #175F2B
split-complementary
#17275F #5F2B17 #4B5F17
monochromatic
#060A19 #0B132E #17275F #233B90 #2F4FC2

Accessibility & contrast

On white

14.08
#17275F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#17275F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17275F
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17275F#FFFFFF#000000##FFFFFF
##17275F1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F61
Deuteranopia (green-blind)
#00285E
Tritanopia (blue-blind)
#00353E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #17275f;
/* rgb */ color: rgb(23, 39, 95);
/* oklch */ color: oklch(29.6% 0.102 267.7);
Tailwind
colors: {
  custom: {
    50: '#5f608d',
    500: '#17275f',
    950: '#000000',
  },
}
SCSS
$custom: #17275f;
$custom-light: #5f608d;
$custom-dark: #000000;
JSON
{
  "hex": "#17275f",
  "rgb": {
    "r": 23,
    "g": 39,
    "b": 95
  },
  "hsl": {
    "h": 226.667,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29641,
    "c": 0.10191,
    "h": 267.7
  },
  "luminance": 0.02459
}

Semantic roles & 50–950 ramp

primary
#17275F
secondary
#96823C
accent
#C044E4
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #17275F

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

Preview Lab → · Contrast checker → · Palette generator →

#17275F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva