#10175C#10175C

#10175C is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.6% C 0.121 H 270.2°. Best body text is #FFFFFF at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#10175C
RGBrgb(16, 23, 92)
HSLhsl(234, 70%, 21%)
HSVhsv(234, 83%, 36%)
CMYKcmyk(82.6%, 75%, 0%, 63.9%)
CIE-LABlab(12.58, 24.54, -41.80)
CIE-LCHlch(12.58, 48.47, 300.41°)
OKLaboklab(25.64% 0.0003 -0.121)
OKLCHoklch(25.64% 0.121 270.2)
XYZxyz(2.4512, 1.4954, 10.2826)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10175C #5C5510
analogous
#103D5C #10175C #2F105C
triadic
#10175C #5C1017 #175C10
tetradic
#10175C #5C103D #5C5510 #105C2F
square
#10175C #5C103D #5C5510 #105C2F
split-complementary
#10175C #5C2F10 #3D5C10
monochromatic
#05071A #070A28 #10175C #192490 #2231C4

Accessibility & contrast

On white

16.16
#10175C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #10175C
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10175C#FFFFFF#000000##FFFFFF
##10175C1.0016.161.3016.16
#FFFFFF16.161.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245E
Deuteranopia (green-blind)
#001D5B
Tritanopia (blue-blind)
#002A37
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #10175c;
/* rgb */ color: rgb(16, 23, 92);
/* oklch */ color: oklch(25.6% 0.121 270.2);
Tailwind
colors: {
  custom: {
    50: '#5d548b',
    500: '#10175c',
    950: '#000000',
  },
}
SCSS
$custom: #10175c;
$custom-light: #5d548b;
$custom-dark: #000000;
JSON
{
  "hex": "#10175c",
  "rgb": {
    "r": 16,
    "g": 23,
    "b": 92
  },
  "hsl": {
    "h": 234.474,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.25642,
    "c": 0.12103,
    "h": 270.2
  },
  "luminance": 0.01496
}

Semantic roles & 50–950 ramp

primary
#10175C
secondary
#958C33
accent
#DD3BED
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #10175C

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

Preview Lab → · Contrast checker → · Palette generator →

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