#173270#173270

#173270 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.6% C 0.113 H 263.7°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#173270
RGBrgb(23, 50, 112)
HSLhsl(222, 66%, 26%)
HSVhsv(222, 79%, 44%)
CMYKcmyk(79.5%, 55.4%, 0%, 56.1%)
CIE-LABlab(22.42, 14.17, -38.85)
CIE-LCHlch(22.42, 41.35, 290.05°)
OKLaboklab(33.62% -0.0123 -0.1119)
OKLCHoklch(33.62% 0.113 263.7)
XYZxyz(4.4175, 3.6327, 15.7945)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173270 #705517
analogous
#175F70 #173270 #291770
triadic
#173270 #701732 #327017
tetradic
#173270 #70175F #705517 #177029
square
#173270 #70175F #705517 #177029
split-complementary
#173270 #702917 #5F7017
monochromatic
#050B19 #0D1B3D #173270 #2149A3 #2D60D4

Accessibility & contrast

On white

12.16
#173270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#173270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173270
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173270#FFFFFF#000000##FFFFFF
##1732701.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063A72
Deuteranopia (green-blind)
#00326F
Tritanopia (blue-blind)
#00414C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #173270;
/* rgb */ color: rgb(23, 50, 112);
/* oklch */ color: oklch(33.6% 0.113 263.7);
Tailwind
colors: {
  custom: {
    50: '#63699a',
    500: '#173270',
    950: '#000000',
  },
}
SCSS
$custom: #173270;
$custom-light: #63699a;
$custom-dark: #000000;
JSON
{
  "hex": "#173270",
  "rgb": {
    "r": 23,
    "g": 50,
    "b": 112
  },
  "hsl": {
    "h": 221.798,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.33618,
    "c": 0.11256,
    "h": 263.7
  },
  "luminance": 0.03633
}

Semantic roles & 50–950 ramp

primary
#173270
secondary
#A6863D
accent
#B53FE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #173270

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

Preview Lab → · Contrast checker → · Palette generator →

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