#0A182C#0A182C

#0A182C is a very dark, muted blue. Relative luminance 0.009; OKLCH L 20.8% C 0.045 H 257.5°. Best body text is #FFFFFF at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#0A182C
RGBrgb(10, 24, 44)
HSLhsl(215, 63%, 11%)
HSVhsv(215, 77%, 17%)
CMYKcmyk(77.3%, 45.5%, 0%, 82.7%)
CIE-LABlab(8.13, 2.04, -15.31)
CIE-LCHlch(8.13, 15.45, 277.58°)
OKLaboklab(20.85% -0.0097 -0.0434)
OKLCHoklch(20.85% 0.045 257.5)
XYZxyz(0.9063, 0.8996, 2.5083)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A182C #2C1E0A
analogous
#0A292C #0A182C #0D0A2C
triadic
#0A182C #2C0A18 #182C0A
tetradic
#0A182C #2C0A29 #2C1E0A #0A2C0D
square
#0A182C #2C0A29 #2C1E0A #0A2C0D
split-complementary
#0A182C #2C0D0A #292C0A
monochromatic
#060E19 #060E19 #0A182C #15335E #214E90

Accessibility & contrast

On white

17.80
#0A182C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A182C
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A182C#FFFFFF#000000##FFFFFF
##0A182C1.0017.801.1817.80
#FFFFFF17.801.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1A2D
Deuteranopia (green-blind)
#0B162C
Tritanopia (blue-blind)
#001D1F
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0a182c;
/* rgb */ color: rgb(10, 24, 44);
/* oklch */ color: oklch(20.8% 0.045 257.5);
Tailwind
colors: {
  custom: {
    50: '#4d5465',
    500: '#0a182c',
    950: '#000000',
  },
}
SCSS
$custom: #0a182c;
$custom-light: #4d5465;
$custom-dark: #000000;
JSON
{
  "hex": "#0a182c",
  "rgb": {
    "r": 10,
    "g": 24,
    "b": 44
  },
  "hsl": {
    "h": 215.294,
    "s": 62.963,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20848,
    "c": 0.04451,
    "h": 257.5
  },
  "luminance": 0.009
}

Semantic roles & 50–950 ramp

primary
#0A182C
secondary
#694F29
accent
#A242E6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010205
muted
#77787A

Preview Lab

Preview with #0A182C

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

Preview Lab → · Contrast checker → · Palette generator →

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