#172243#172243

#172243 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.1% C 0.064 H 267.9°. Best body text is #FFFFFF at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#172243
RGBrgb(23, 34, 67)
HSLhsl(225, 49%, 18%)
HSVhsv(225, 66%, 26%)
CMYKcmyk(65.7%, 49.3%, 0%, 73.7%)
CIE-LABlab(14.01, 7.25, -22.38)
CIE-LCHlch(14.01, 23.52, 287.96°)
OKLaboklab(26.13% -0.0023 -0.0637)
OKLCHoklch(26.13% 0.064 267.9)
XYZxyz(1.9382, 1.7313, 5.5411)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172243 #433817
analogous
#173843 #172243 #221743
triadic
#172243 #431722 #224317
tetradic
#172243 #431738 #433817 #174322
square
#172243 #431738 #433817 #174322
split-complementary
#172243 #432217 #384317
monochromatic
#080C17 #080C17 #172243 #273971 #36509E

Accessibility & contrast

On white

15.60
#172243 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#172243 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172243
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172243#FFFFFF#000000##FFFFFF
##1722431.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132644
Deuteranopia (green-blind)
#0D2242
Tritanopia (blue-blind)
#00292F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #172243;
/* rgb */ color: rgb(23, 34, 67);
/* oklch */ color: oklch(26.1% 0.064 267.9);
Tailwind
colors: {
  custom: {
    50: '#595c77',
    500: '#172243',
    950: '#000000',
  },
}
SCSS
$custom: #172243;
$custom-light: #595c77;
$custom-dark: #000000;
JSON
{
  "hex": "#172243",
  "rgb": {
    "r": 23,
    "g": 34,
    "b": 67
  },
  "hsl": {
    "h": 225,
    "s": 48.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.26127,
    "c": 0.06375,
    "h": 267.9
  },
  "luminance": 0.01731
}

Semantic roles & 50–950 ramp

primary
#172243
secondary
#7A6A3C
accent
#B64FD8
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040408
muted
#79797B

Preview Lab

Preview with #172243

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

Preview Lab → · Contrast checker → · Palette generator →

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