#173261#173261

#173261 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.4% C 0.090 H 260.6°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#173261
RGBrgb(23, 50, 97)
HSLhsl(218, 62%, 24%)
HSVhsv(218, 76%, 38%)
CMYKcmyk(76.3%, 48.5%, 0%, 62%)
CIE-LABlab(21.30, 7.91, -30.92)
CIE-LCHlch(21.30, 31.91, 284.34°)
OKLaboklab(32.41% -0.0146 -0.0885)
OKLCHoklch(32.41% 0.09 260.6)
XYZxyz(3.6508, 3.3260, 11.7565)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173261 #614617
analogous
#175761 #173261 #211761
triadic
#173261 #611732 #326117
tetradic
#173261 #611757 #614617 #176121
square
#173261 #611757 #614617 #176121
split-complementary
#173261 #612117 #576117
monochromatic
#060D19 #0B1830 #173261 #234B92 #2E65C4

Accessibility & contrast

On white

12.61
#173261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#173261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173261
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173261#FFFFFF#000000##FFFFFF
##1732611.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3763
Deuteranopia (green-blind)
#0B3060
Tritanopia (blue-blind)
#003D44
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #173261;
/* rgb */ color: rgb(23, 50, 97);
/* oklch */ color: oklch(32.4% 0.090 260.6);
Tailwind
colors: {
  custom: {
    50: '#5f698e',
    500: '#173261',
    950: '#000000',
  },
}
SCSS
$custom: #173261;
$custom-light: #5f698e;
$custom-dark: #000000;
JSON
{
  "hex": "#173261",
  "rgb": {
    "r": 23,
    "g": 50,
    "b": 97
  },
  "hsl": {
    "h": 218.108,
    "s": 61.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.32411,
    "c": 0.08974,
    "h": 260.6
  },
  "luminance": 0.03326
}

Semantic roles & 50–950 ramp

primary
#173261
secondary
#98763C
accent
#AA43E5
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #173261

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

Preview Lab → · Contrast checker → · Palette generator →

#173261 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva