#10175E#10175E

#10175E is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.9% C 0.124 H 270.0°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#10175E
RGBrgb(16, 23, 94)
HSLhsl(235, 71%, 22%)
HSVhsv(235, 83%, 37%)
CMYKcmyk(83%, 75.5%, 0%, 63.1%)
CIE-LABlab(12.80, 25.33, -42.77)
CIE-LCHlch(12.80, 49.71, 300.64°)
OKLaboklab(25.87% 0.0001 -0.1239)
OKLCHoklch(25.87% 0.124 270)
XYZxyz(2.5398, 1.5308, 10.7491)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10175E #5E5710
analogous
#103E5E #10175E #30105E
triadic
#10175E #5E1017 #175E10
tetradic
#10175E #5E103E #5E5710 #105E30
square
#10175E #5E103E #5E5710 #105E30
split-complementary
#10175E #5E3010 #3E5E10
monochromatic
#04061A #070A2A #10175E #192492 #2231C7

Accessibility & contrast

On white

16.08
#10175E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#10175E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10175E
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10175E#FFFFFF#000000##FFFFFF
##10175E1.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002560
Deuteranopia (green-blind)
#001D5D
Tritanopia (blue-blind)
#002B38
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #10175e;
/* rgb */ color: rgb(16, 23, 94);
/* oklch */ color: oklch(25.9% 0.124 270.0);
Tailwind
colors: {
  custom: {
    50: '#5e548d',
    500: '#10175e',
    950: '#000000',
  },
}
SCSS
$custom: #10175e;
$custom-light: #5e548d;
$custom-dark: #000000;
JSON
{
  "hex": "#10175e",
  "rgb": {
    "r": 16,
    "g": 23,
    "b": 94
  },
  "hsl": {
    "h": 234.615,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.25871,
    "c": 0.12386,
    "h": 270
  },
  "luminance": 0.01531
}

Semantic roles & 50–950 ramp

primary
#10175E
secondary
#978E33
accent
#DE3AEE
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #10175E

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

Preview Lab → · Contrast checker → · Palette generator →

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