#0A173C#0A173C

#0A173C is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.9% C 0.074 H 265.9°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#0A173C
RGBrgb(10, 23, 60)
HSLhsl(224, 71%, 14%)
HSVhsv(224, 83%, 24%)
CMYKcmyk(83.3%, 61.7%, 0%, 76.5%)
CIE-LABlab(9.02, 10.08, -25.51)
CIE-LCHlch(9.02, 27.43, 291.56°)
OKLaboklab(21.94% -0.0053 -0.0734)
OKLCHoklch(21.94% 0.074 265.9)
XYZxyz(1.2469, 1.0034, 4.4021)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A173C #3C2F0A
analogous
#0A303C #0A173C #160A3C
triadic
#0A173C #3C0A17 #173C0A
tetradic
#0A173C #3C0A30 #3C2F0A #0A3C16
square
#0A173C #3C0A30 #3C2F0A #0A3C16
split-complementary
#0A173C #3C160A #303C0A
monochromatic
#040A1A #040A1A #0A173C #132B70 #1B3FA5

Accessibility & contrast

On white

17.49
#0A173C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A173C
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A173C#FFFFFF#000000##FFFFFF
##0A173C1.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011C3D
Deuteranopia (green-blind)
#00173B
Tritanopia (blue-blind)
#002026
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0a173c;
/* rgb */ color: rgb(10, 23, 60);
/* oklch */ color: oklch(21.9% 0.074 265.9);
Tailwind
colors: {
  custom: {
    50: '#515372',
    500: '#0a173c',
    950: '#000000',
  },
}
SCSS
$custom: #0a173c;
$custom-light: #515372;
$custom-dark: #000000;
JSON
{
  "hex": "#0a173c",
  "rgb": {
    "r": 10,
    "g": 23,
    "b": 60
  },
  "hsl": {
    "h": 224.4,
    "s": 71.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.21935,
    "c": 0.07361,
    "h": 265.9
  },
  "luminance": 0.01004
}

Semantic roles & 50–950 ramp

primary
#0A173C
secondary
#796428
accent
#BF3AEE
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020208
muted
#78787B

Preview Lab

Preview with #0A173C

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

Preview Lab → · Contrast checker → · Palette generator →

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