#10175F#10175F

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

Color values

HEX#10175F
RGBrgb(16, 23, 95)
HSLhsl(235, 71%, 22%)
HSVhsv(235, 83%, 37%)
CMYKcmyk(83.2%, 75.8%, 0%, 62.7%)
CIE-LABlab(12.92, 25.73, -43.26)
CIE-LCHlch(12.92, 50.33, 300.74°)
OKLaboklab(25.99% 0 -0.1253)
OKLCHoklch(25.99% 0.125 270)
XYZxyz(2.5849, 1.5489, 10.9870)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10175F #5F5810
analogous
#103F5F #10175F #31105F
triadic
#10175F #5F1017 #175F10
tetradic
#10175F #5F103F #5F5810 #105F31
square
#10175F #5F103F #5F5810 #105F31
split-complementary
#10175F #5F3110 #3F5F10
monochromatic
#04061A #070A2B #10175F #192493 #2230C8

Accessibility & contrast

On white

16.03
#10175F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #10175F
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10175F#FFFFFF#000000##FFFFFF
##10175F1.0016.031.3116.03
#FFFFFF16.031.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002561
Deuteranopia (green-blind)
#001E5E
Tritanopia (blue-blind)
#002B39
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #10175f;
/* rgb */ color: rgb(16, 23, 95);
/* oklch */ color: oklch(26.0% 0.125 270.0);
Tailwind
colors: {
  custom: {
    50: '#5e548d',
    500: '#10175f',
    950: '#000000',
  },
}
SCSS
$custom: #10175f;
$custom-light: #5e548d;
$custom-dark: #000000;
JSON
{
  "hex": "#10175f",
  "rgb": {
    "r": 16,
    "g": 23,
    "b": 95
  },
  "hsl": {
    "h": 234.684,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.25986,
    "c": 0.12527,
    "h": 270
  },
  "luminance": 0.01549
}

Semantic roles & 50–950 ramp

primary
#10175F
secondary
#988F33
accent
#DE3AEE
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #10175F

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

Preview Lab → · Contrast checker → · Palette generator →

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