#10175A#10175A

#10175A is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.4% C 0.118 H 270.3°. Best body text is #FFFFFF at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#10175A
RGBrgb(16, 23, 90)
HSLhsl(234, 70%, 21%)
HSVhsv(234, 82%, 35%)
CMYKcmyk(82.2%, 74.4%, 0%, 64.7%)
CIE-LABlab(12.36, 23.74, -40.82)
CIE-LCHlch(12.36, 47.22, 300.18°)
OKLaboklab(25.42% 0.0006 -0.1182)
OKLCHoklch(25.42% 0.118 270.3)
XYZxyz(2.3649, 1.4609, 9.8282)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10175A #5A5310
analogous
#103C5A #10175A #2E105A
triadic
#10175A #5A1017 #175A10
tetradic
#10175A #5A103C #5A5310 #105A2E
square
#10175A #5A103C #5A5310 #105A2E
split-complementary
#10175A #5A2E10 #3C5A10
monochromatic
#05071A #070A26 #10175A #19248E #2232C2

Accessibility & contrast

On white

16.25
#10175A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#10175A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10175A
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10175A#FFFFFF#000000##FFFFFF
##10175A1.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245C
Deuteranopia (green-blind)
#001D59
Tritanopia (blue-blind)
#002936
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #10175a;
/* rgb */ color: rgb(16, 23, 90);
/* oklch */ color: oklch(25.4% 0.118 270.3);
Tailwind
colors: {
  custom: {
    50: '#5d5489',
    500: '#10175a',
    950: '#000000',
  },
}
SCSS
$custom: #10175a;
$custom-light: #5d5489;
$custom-dark: #000000;
JSON
{
  "hex": "#10175a",
  "rgb": {
    "r": 16,
    "g": 23,
    "b": 90
  },
  "hsl": {
    "h": 234.324,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.25416,
    "c": 0.11817,
    "h": 270.3
  },
  "luminance": 0.01461
}

Semantic roles & 50–950 ramp

primary
#10175A
secondary
#938A33
accent
#DC3BED
background
#F5F4F8
surface
#E9E7F0
border
#C5C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #10175A

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

Preview Lab → · Contrast checker → · Palette generator →

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