#0A173A#0A173A

#0A173A is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.7% C 0.070 H 265.5°. Best body text is #FFFFFF at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#0A173A
RGBrgb(10, 23, 58)
HSLhsl(224, 71%, 13%)
HSVhsv(224, 83%, 23%)
CMYKcmyk(82.8%, 60.3%, 0%, 77.3%)
CIE-LABlab(8.85, 9.17, -24.35)
CIE-LCHlch(8.85, 26.02, 290.63°)
OKLaboklab(21.75% -0.0055 -0.07)
OKLCHoklch(21.75% 0.07 265.5)
XYZxyz(1.1950, 0.9827, 4.1289)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A173A #3A2D0A
analogous
#0A2F3A #0A173A #150A3A
triadic
#0A173A #3A0A17 #173A0A
tetradic
#0A173A #3A0A2F #3A2D0A #0A3A15
square
#0A173A #3A0A2F #3A2D0A #0A3A15
split-complementary
#0A173A #3A150A #2F3A0A
monochromatic
#050A1A #050A1A #0A173A #132C6E #1C40A2

Accessibility & contrast

On white

17.55
#0A173A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A173A
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A173A#FFFFFF#000000##FFFFFF
##0A173A1.0017.551.2017.55
#FFFFFF17.551.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031B3B
Deuteranopia (green-blind)
#001739
Tritanopia (blue-blind)
#001F25
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0a173a;
/* rgb */ color: rgb(10, 23, 58);
/* oklch */ color: oklch(21.7% 0.070 265.5);
Tailwind
colors: {
  custom: {
    50: '#515370',
    500: '#0a173a',
    950: '#000000',
  },
}
SCSS
$custom: #0a173a;
$custom-light: #515370;
$custom-dark: #000000;
JSON
{
  "hex": "#0a173a",
  "rgb": {
    "r": 10,
    "g": 23,
    "b": 58
  },
  "hsl": {
    "h": 223.75,
    "s": 70.588,
    "l": 13.333
  },
  "oklch": {
    "l": 0.21748,
    "c": 0.07024,
    "h": 265.5
  },
  "luminance": 0.00983
}

Semantic roles & 50–950 ramp

primary
#0A173A
secondary
#776228
accent
#BD3AED
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #0A173A

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

Preview Lab → · Contrast checker → · Palette generator →

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