#0A173D#0A173D

#0A173D is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.0% C 0.075 H 266.1°. Best body text is #FFFFFF at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#0A173D
RGBrgb(10, 23, 61)
HSLhsl(225, 72%, 14%)
HSVhsv(225, 84%, 24%)
CMYKcmyk(83.6%, 62.3%, 0%, 76.1%)
CIE-LABlab(9.11, 10.53, -26.08)
CIE-LCHlch(9.11, 28.12, 292.00°)
OKLaboklab(22.03% -0.0052 -0.0751)
OKLCHoklch(22.03% 0.075 266.1)
XYZxyz(1.2736, 1.0141, 4.5426)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A173D #3D300A
analogous
#0A313D #0A173D #170A3D
triadic
#0A173D #3D0A17 #173D0A
tetradic
#0A173D #3D0A31 #3D300A #0A3D17
square
#0A173D #3D0A31 #3D300A #0A3D17
split-complementary
#0A173D #3D170A #313D0A
monochromatic
#040A1A #040A1A #0A173D #132B72 #1B3FA6

Accessibility & contrast

On white

17.46
#0A173D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#0A173D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A173D
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A173D#FFFFFF#000000##FFFFFF
##0A173D1.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3E
Deuteranopia (green-blind)
#00173C
Tritanopia (blue-blind)
#002027
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0a173d;
/* rgb */ color: rgb(10, 23, 61);
/* oklch */ color: oklch(22.0% 0.075 266.1);
Tailwind
colors: {
  custom: {
    50: '#525373',
    500: '#0a173d',
    950: '#000000',
  },
}
SCSS
$custom: #0a173d;
$custom-light: #525373;
$custom-dark: #000000;
JSON
{
  "hex": "#0a173d",
  "rgb": {
    "r": 10,
    "g": 23,
    "b": 61
  },
  "hsl": {
    "h": 224.706,
    "s": 71.831,
    "l": 13.922
  },
  "oklch": {
    "l": 0.22029,
    "c": 0.07528,
    "h": 266.1
  },
  "luminance": 0.01014
}

Semantic roles & 50–950 ramp

primary
#0A173D
secondary
#7A6528
accent
#C039EF
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020208
muted
#78787B

Preview Lab

Preview with #0A173D

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

Preview Lab → · Contrast checker → · Palette generator →

#0A173D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva