#0A172E#0A172E

#0A172E is a very dark, muted blue. Relative luminance 0.009; OKLCH L 20.7% C 0.049 H 261.0°. Best body text is #FFFFFF at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#0A172E
RGBrgb(10, 23, 46)
HSLhsl(218, 64%, 11%)
HSVhsv(218, 78%, 18%)
CMYKcmyk(78.3%, 50%, 0%, 82%)
CIE-LABlab(7.90, 3.72, -17.15)
CIE-LCHlch(7.90, 17.55, 282.23°)
OKLaboklab(20.72% -0.0078 -0.0488)
OKLCHoklch(20.72% 0.049 261)
XYZxyz(0.9245, 0.8745, 2.7043)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A172E #2E210A
analogous
#0A292E #0A172E #0F0A2E
triadic
#0A172E #2E0A17 #172E0A
tetradic
#0A172E #2E0A29 #2E210A #0A2E0F
square
#0A172E #2E0A29 #2E210A #0A2E0F
split-complementary
#0A172E #2E0F0A #292E0A
monochromatic
#050D19 #050D19 #0A172E #153060 #204993

Accessibility & contrast

On white

17.87
#0A172E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#0A172E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A172E
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A172E#FFFFFF#000000##FFFFFF
##0A172E1.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D192F
Deuteranopia (green-blind)
#07162E
Tritanopia (blue-blind)
#001C20
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0a172e;
/* rgb */ color: rgb(10, 23, 46);
/* oklch */ color: oklch(20.7% 0.049 261.0);
Tailwind
colors: {
  custom: {
    50: '#4e5367',
    500: '#0a172e',
    950: '#000000',
  },
}
SCSS
$custom: #0a172e;
$custom-light: #4e5367;
$custom-dark: #000000;
JSON
{
  "hex": "#0a172e",
  "rgb": {
    "r": 10,
    "g": 23,
    "b": 46
  },
  "hsl": {
    "h": 218.333,
    "s": 64.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.20718,
    "c": 0.04946,
    "h": 261
  },
  "luminance": 0.00875
}

Semantic roles & 50–950 ramp

primary
#0A172E
secondary
#6B5329
accent
#AB41E7
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #0A172E

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

Preview Lab → · Contrast checker → · Palette generator →

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