#0A172B#0A172B

#0A172B is a very dark, muted blue. Relative luminance 0.009; OKLCH L 20.5% C 0.044 H 258.7°. Best body text is #FFFFFF at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#0A172B
RGBrgb(10, 23, 43)
HSLhsl(216, 62%, 10%)
HSVhsv(216, 77%, 17%)
CMYKcmyk(76.7%, 46.5%, 0%, 83.1%)
CIE-LABlab(7.69, 2.36, -15.25)
CIE-LCHlch(7.69, 15.44, 278.81°)
OKLaboklab(20.49% -0.0086 -0.0433)
OKLCHoklch(20.49% 0.044 258.7)
XYZxyz(0.8675, 0.8517, 2.4037)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A172B #2B1E0A
analogous
#0A272B #0A172B #0E0A2B
triadic
#0A172B #2B0A17 #172B0A
tetradic
#0A172B #2B0A27 #2B1E0A #0A2B0E
square
#0A172B #2B0A27 #2B1E0A #0A2B0E
split-complementary
#0A172B #2B0E0A #272B0A
monochromatic
#060D19 #060D19 #0A172B #16325D #214C8E

Accessibility & contrast

On white

17.94
#0A172B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A172B
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A172B#FFFFFF#000000##FFFFFF
##0A172B1.0017.941.1717.94
#FFFFFF17.941.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E192C
Deuteranopia (green-blind)
#0A152B
Tritanopia (blue-blind)
#001C1E
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0a172b;
/* rgb */ color: rgb(10, 23, 43);
/* oklch */ color: oklch(20.5% 0.044 258.7);
Tailwind
colors: {
  custom: {
    50: '#4d5364',
    500: '#0a172b',
    950: '#000000',
  },
}
SCSS
$custom: #0a172b;
$custom-light: #4d5364;
$custom-dark: #000000;
JSON
{
  "hex": "#0a172b",
  "rgb": {
    "r": 10,
    "g": 23,
    "b": 43
  },
  "hsl": {
    "h": 216.364,
    "s": 62.264,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20487,
    "c": 0.04417,
    "h": 258.7
  },
  "luminance": 0.00852
}

Semantic roles & 50–950 ramp

primary
#0A172B
secondary
#684F29
accent
#A542E5
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010205
muted
#77787A

Preview Lab

Preview with #0A172B

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

Preview Lab → · Contrast checker → · Palette generator →

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