#103171#103171

#103171 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.2% C 0.117 H 261.8°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#103171
RGBrgb(16, 49, 113)
HSLhsl(220, 75%, 25%)
HSVhsv(220, 86%, 44%)
CMYKcmyk(85.8%, 56.6%, 0%, 55.7%)
CIE-LABlab(21.94, 14.52, -40.28)
CIE-LCHlch(21.94, 42.81, 289.82°)
OKLaboklab(33.21% -0.0167 -0.1162)
OKLCHoklch(33.21% 0.117 261.8)
XYZxyz(4.2916, 3.4985, 16.0687)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#103171 #715010
analogous
#106171 #103171 #201071
triadic
#103171 #711031 #317110
tetradic
#103171 #711061 #715010 #107120
square
#103171 #711061 #715010 #107120
split-complementary
#103171 #712010 #617110
monochromatic
#040C1B #081A3B #103171 #1848A7 #1F5FDC

Accessibility & contrast

On white

12.35
#103171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#103171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #103171
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##103171#FFFFFF#000000##FFFFFF
##1031711.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#003070
Tritanopia (blue-blind)
#00414C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #103171;
/* rgb */ color: rgb(16, 49, 113);
/* oklch */ color: oklch(33.2% 0.117 261.8);
Tailwind
colors: {
  custom: {
    50: '#61689a',
    500: '#103171',
    950: '#000000',
  },
}
SCSS
$custom: #103171;
$custom-light: #61689a;
$custom-dark: #000000;
JSON
{
  "hex": "#103171",
  "rgb": {
    "r": 16,
    "g": 49,
    "b": 113
  },
  "hsl": {
    "h": 219.588,
    "s": 75.194,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33207,
    "c": 0.11741,
    "h": 261.8
  },
  "luminance": 0.03499
}

Semantic roles & 50–950 ramp

primary
#103171
secondary
#A98134
accent
#B236F2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #103171

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

Preview Lab → · Contrast checker → · Palette generator →

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