#0A173B#0A173B

#0A173B is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.8% C 0.072 H 265.7°. Best body text is #FFFFFF at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#0A173B
RGBrgb(10, 23, 59)
HSLhsl(224, 71%, 14%)
HSVhsv(224, 83%, 23%)
CMYKcmyk(83.1%, 61%, 0%, 76.9%)
CIE-LABlab(8.93, 9.62, -24.93)
CIE-LCHlch(8.93, 26.72, 291.10°)
OKLaboklab(21.84% -0.0054 -0.0717)
OKLCHoklch(21.84% 0.072 265.7)
XYZxyz(1.2207, 0.9930, 4.2642)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A173B #3B2E0A
analogous
#0A2F3B #0A173B #150A3B
triadic
#0A173B #3B0A17 #173B0A
tetradic
#0A173B #3B0A2F #3B2E0A #0A3B15
square
#0A173B #3B0A2F #3B2E0A #0A3B15
split-complementary
#0A173B #3B150A #2F3B0A
monochromatic
#040A1A #040A1A #0A173B #132B6F #1C40A4

Accessibility & contrast

On white

17.52
#0A173B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A173B
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A173B#FFFFFF#000000##FFFFFF
##0A173B1.0017.521.2017.52
#FFFFFF17.521.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021C3C
Deuteranopia (green-blind)
#00173A
Tritanopia (blue-blind)
#002026
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0a173b;
/* rgb */ color: rgb(10, 23, 59);
/* oklch */ color: oklch(21.8% 0.072 265.7);
Tailwind
colors: {
  custom: {
    50: '#515371',
    500: '#0a173b',
    950: '#000000',
  },
}
SCSS
$custom: #0a173b;
$custom-light: #515371;
$custom-dark: #000000;
JSON
{
  "hex": "#0a173b",
  "rgb": {
    "r": 10,
    "g": 23,
    "b": 59
  },
  "hsl": {
    "h": 224.082,
    "s": 71.014,
    "l": 13.529
  },
  "oklch": {
    "l": 0.21841,
    "c": 0.07193,
    "h": 265.7
  },
  "luminance": 0.00993
}

Semantic roles & 50–950 ramp

primary
#0A173B
secondary
#786328
accent
#BE3AEE
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #0A173B

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

Preview Lab → · Contrast checker → · Palette generator →

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