#0A182E#0A182E

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

Color values

HEX#0A182E
RGBrgb(10, 24, 46)
HSLhsl(217, 64%, 11%)
HSVhsv(217, 78%, 18%)
CMYKcmyk(78.3%, 47.8%, 0%, 82%)
CIE-LABlab(8.26, 2.93, -16.57)
CIE-LCHlch(8.26, 16.83, 280.02°)
OKLaboklab(21% -0.0091 -0.0471)
OKLCHoklch(21% 0.048 259.1)
XYZxyz(0.9448, 0.9150, 2.7111)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A182E #2E200A
analogous
#0A2A2E #0A182E #0E0A2E
triadic
#0A182E #2E0A18 #182E0A
tetradic
#0A182E #2E0A2A #2E200A #0A2E0E
square
#0A182E #2E0A2A #2E200A #0A2E0E
split-complementary
#0A182E #2E0E0A #2A2E0A
monochromatic
#050D19 #050D19 #0A182E #153260 #204C93

Accessibility & contrast

On white

17.75
#0A182E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A182E
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A182E#FFFFFF#000000##FFFFFF
##0A182E1.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1A2F
Deuteranopia (green-blind)
#09162E
Tritanopia (blue-blind)
#001D20
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0a182e;
/* rgb */ color: rgb(10, 24, 46);
/* oklch */ color: oklch(21.0% 0.048 259.1);
Tailwind
colors: {
  custom: {
    50: '#4e5467',
    500: '#0a182e',
    950: '#000000',
  },
}
SCSS
$custom: #0a182e;
$custom-light: #4e5467;
$custom-dark: #000000;
JSON
{
  "hex": "#0a182e",
  "rgb": {
    "r": 10,
    "g": 24,
    "b": 46
  },
  "hsl": {
    "h": 216.667,
    "s": 64.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.20999,
    "c": 0.048,
    "h": 259.1
  },
  "luminance": 0.00915
}

Semantic roles & 50–950 ramp

primary
#0A182E
secondary
#6B5129
accent
#A641E7
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #0A182E

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

Preview Lab → · Contrast checker → · Palette generator →

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