#170F43#170F43

#170F43 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.9% C 0.093 H 282.6°. Best body text is #FFFFFF at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#170F43
RGBrgb(23, 15, 67)
HSLhsl(249, 63%, 16%)
HSVhsv(249, 78%, 26%)
CMYKcmyk(65.7%, 77.6%, 0%, 73.7%)
CIE-LABlab(8.39, 21.33, -31.47)
CIE-LCHlch(8.39, 38.02, 304.13°)
OKLaboklab(21.94% 0.0203 -0.0906)
OKLCHoklch(21.94% 0.093 282.6)
XYZxyz(1.5370, 0.9290, 5.4074)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170F43 #3B430F
analogous
#0F2143 #170F43 #310F43
triadic
#170F43 #43170F #0F4317
tetradic
#170F43 #430F21 #3B430F #0F4331
square
#170F43 #430F21 #3B430F #0F4331
split-complementary
#170F43 #43310F #21430F
monochromatic
#090619 #090619 #170F43 #281A75 #3925A7

Accessibility & contrast

On white

17.71
#170F43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#170F43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170F43
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170F43#FFFFFF#000000##FFFFFF
##170F431.0017.711.1917.71
#FFFFFF17.711.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A45
Deuteranopia (green-blind)
#001642
Tritanopia (blue-blind)
#011D27
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #170f43;
/* rgb */ color: rgb(23, 15, 67);
/* oklch */ color: oklch(21.9% 0.093 282.6);
Tailwind
colors: {
  custom: {
    50: '#5a4e78',
    500: '#170f43',
    950: '#000000',
  },
}
SCSS
$custom: #170f43;
$custom-light: #5a4e78;
$custom-dark: #000000;
JSON
{
  "hex": "#170f43",
  "rgb": {
    "r": 23,
    "g": 15,
    "b": 67
  },
  "hsl": {
    "h": 249.231,
    "s": 63.415,
    "l": 16.078
  },
  "oklch": {
    "l": 0.21939,
    "c": 0.09285,
    "h": 282.6
  },
  "luminance": 0.00929
}

Semantic roles & 50–950 ramp

primary
#170F43
secondary
#727D30
accent
#E641CD
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #170F43

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

Preview Lab → · Contrast checker → · Palette generator →

#170F43 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva