#10175B#10175B

#10175B is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.5% C 0.120 H 270.2°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#10175B
RGBrgb(16, 23, 91)
HSLhsl(234, 70%, 21%)
HSVhsv(234, 82%, 36%)
CMYKcmyk(82.4%, 74.7%, 0%, 64.3%)
CIE-LABlab(12.47, 24.14, -41.32)
CIE-LCHlch(12.47, 47.85, 300.30°)
OKLaboklab(25.53% 0.0005 -0.1196)
OKLCHoklch(25.53% 0.12 270.2)
XYZxyz(2.4078, 1.4780, 10.0539)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10175B #5B5410
analogous
#103C5B #10175B #2E105B
triadic
#10175B #5B1017 #175B10
tetradic
#10175B #5B103C #5B5410 #105B2E
square
#10175B #5B103C #5B5410 #105B2E
split-complementary
#10175B #5B2E10 #3C5B10
monochromatic
#05071A #070A27 #10175B #19248F #2231C3

Accessibility & contrast

On white

16.21
#10175B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #10175B
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10175B#FFFFFF#000000##FFFFFF
##10175B1.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245D
Deuteranopia (green-blind)
#001D5A
Tritanopia (blue-blind)
#002A37
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #10175b;
/* rgb */ color: rgb(16, 23, 91);
/* oklch */ color: oklch(25.5% 0.120 270.2);
Tailwind
colors: {
  custom: {
    50: '#5d548a',
    500: '#10175b',
    950: '#000000',
  },
}
SCSS
$custom: #10175b;
$custom-light: #5d548a;
$custom-dark: #000000;
JSON
{
  "hex": "#10175b",
  "rgb": {
    "r": 16,
    "g": 23,
    "b": 91
  },
  "hsl": {
    "h": 234.4,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25529,
    "c": 0.11961,
    "h": 270.2
  },
  "luminance": 0.01478
}

Semantic roles & 50–950 ramp

primary
#10175B
secondary
#948B33
accent
#DC3BED
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #10175B

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

Preview Lab → · Contrast checker → · Palette generator →

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