#10175D#10175D

#10175D is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.8% C 0.122 H 270.1°. Best body text is #FFFFFF at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#10175D
RGBrgb(16, 23, 93)
HSLhsl(235, 71%, 21%)
HSVhsv(235, 83%, 36%)
CMYKcmyk(82.8%, 75.3%, 0%, 63.5%)
CIE-LABlab(12.69, 24.94, -42.29)
CIE-LCHlch(12.69, 49.09, 300.53°)
OKLaboklab(25.76% 0.0002 -0.1224)
OKLCHoklch(25.76% 0.122 270.1)
XYZxyz(2.4952, 1.5130, 10.5143)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10175D #5D5610
analogous
#103E5D #10175D #30105D
triadic
#10175D #5D1017 #175D10
tetradic
#10175D #5D103E #5D5610 #105D30
square
#10175D #5D103E #5D5610 #105D30
split-complementary
#10175D #5D3010 #3E5D10
monochromatic
#04061A #070A29 #10175D #192491 #2231C5

Accessibility & contrast

On white

16.12
#10175D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#10175D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10175D
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10175D#FFFFFF#000000##FFFFFF
##10175D1.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255F
Deuteranopia (green-blind)
#001D5C
Tritanopia (blue-blind)
#002B38
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #10175d;
/* rgb */ color: rgb(16, 23, 93);
/* oklch */ color: oklch(25.8% 0.122 270.1);
Tailwind
colors: {
  custom: {
    50: '#5e548c',
    500: '#10175d',
    950: '#000000',
  },
}
SCSS
$custom: #10175d;
$custom-light: #5e548c;
$custom-dark: #000000;
JSON
{
  "hex": "#10175d",
  "rgb": {
    "r": 16,
    "g": 23,
    "b": 93
  },
  "hsl": {
    "h": 234.545,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.25757,
    "c": 0.12245,
    "h": 270.1
  },
  "luminance": 0.01513
}

Semantic roles & 50–950 ramp

primary
#10175D
secondary
#968D33
accent
#DD3AED
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #10175D

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

Preview Lab → · Contrast checker → · Palette generator →

#10175D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva