#0A172D#0A172D

#0A172D is a very dark, muted blue. Relative luminance 0.009; OKLCH L 20.6% C 0.048 H 260.3°. Best body text is #FFFFFF at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#0A172D
RGBrgb(10, 23, 45)
HSLhsl(218, 64%, 11%)
HSVhsv(218, 78%, 18%)
CMYKcmyk(77.8%, 48.9%, 0%, 82.4%)
CIE-LABlab(7.83, 3.27, -16.52)
CIE-LCHlch(7.83, 16.84, 281.19°)
OKLaboklab(20.64% -0.008 -0.047)
OKLCHoklch(20.64% 0.048 260.3)
XYZxyz(0.9051, 0.8667, 2.6017)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A172D #2D200A
analogous
#0A282D #0A172D #0E0A2D
triadic
#0A172D #2D0A17 #172D0A
tetradic
#0A172D #2D0A28 #2D200A #0A2D0E
square
#0A172D #2D0A28 #2D200A #0A2D0E
split-complementary
#0A172D #2D0E0A #282D0A
monochromatic
#060D19 #060D19 #0A172D #15315F #204A91

Accessibility & contrast

On white

17.90
#0A172D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#0A172D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A172D
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A172D#FFFFFF#000000##FFFFFF
##0A172D1.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D192E
Deuteranopia (green-blind)
#08162D
Tritanopia (blue-blind)
#001C1F
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0a172d;
/* rgb */ color: rgb(10, 23, 45);
/* oklch */ color: oklch(20.6% 0.048 260.3);
Tailwind
colors: {
  custom: {
    50: '#4d5366',
    500: '#0a172d',
    950: '#000000',
  },
}
SCSS
$custom: #0a172d;
$custom-light: #4d5366;
$custom-dark: #000000;
JSON
{
  "hex": "#0a172d",
  "rgb": {
    "r": 10,
    "g": 23,
    "b": 45
  },
  "hsl": {
    "h": 217.714,
    "s": 63.636,
    "l": 10.784
  },
  "oklch": {
    "l": 0.2064,
    "c": 0.04769,
    "h": 260.3
  },
  "luminance": 0.00867
}

Semantic roles & 50–950 ramp

primary
#0A172D
secondary
#6A5229
accent
#A941E7
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #0A172D

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

Preview Lab → · Contrast checker → · Palette generator →

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