#173262#173262

#173262 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.5% C 0.091 H 260.9°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#173262
RGBrgb(23, 50, 98)
HSLhsl(218, 62%, 24%)
HSVhsv(218, 77%, 38%)
CMYKcmyk(76.5%, 49%, 0%, 61.6%)
CIE-LABlab(21.38, 8.32, -31.46)
CIE-LCHlch(21.38, 32.54, 284.82°)
OKLaboklab(32.49% -0.0144 -0.0901)
OKLCHoklch(32.49% 0.091 260.9)
XYZxyz(3.6978, 3.3448, 12.0036)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173262 #624717
analogous
#175762 #173262 #211762
triadic
#173262 #621732 #326217
tetradic
#173262 #621757 #624717 #176221
square
#173262 #621757 #624717 #176221
split-complementary
#173262 #622117 #576217
monochromatic
#060D19 #0B1930 #173262 #234B94 #2E65C5

Accessibility & contrast

On white

12.58
#173262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173262
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173262#FFFFFF#000000##FFFFFF
##1732621.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193764
Deuteranopia (green-blind)
#093061
Tritanopia (blue-blind)
#003D45
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #173262;
/* rgb */ color: rgb(23, 50, 98);
/* oklch */ color: oklch(32.5% 0.091 260.9);
Tailwind
colors: {
  custom: {
    50: '#5f698f',
    500: '#173262',
    950: '#000000',
  },
}
SCSS
$custom: #173262;
$custom-light: #5f698f;
$custom-dark: #000000;
JSON
{
  "hex": "#173262",
  "rgb": {
    "r": 23,
    "g": 50,
    "b": 98
  },
  "hsl": {
    "h": 218.4,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.32488,
    "c": 0.09128,
    "h": 260.9
  },
  "luminance": 0.03345
}

Semantic roles & 50–950 ramp

primary
#173262
secondary
#99773C
accent
#AB43E5
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #173262

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

Preview Lab → · Contrast checker → · Palette generator →

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