#0A182F#0A182F

#0A182F is a very dark, muted blue. Relative luminance 0.009; OKLCH L 21.1% C 0.050 H 259.8°. Best body text is #FFFFFF at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#0A182F
RGBrgb(10, 24, 47)
HSLhsl(217, 65%, 11%)
HSVhsv(217, 79%, 18%)
CMYKcmyk(78.7%, 48.9%, 0%, 81.6%)
CIE-LABlab(8.33, 3.38, -17.19)
CIE-LCHlch(8.33, 17.52, 281.11°)
OKLaboklab(21.08% -0.0088 -0.049)
OKLCHoklch(21.08% 0.05 259.8)
XYZxyz(0.9647, 0.9229, 2.8161)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A182F #2F210A
analogous
#0A2A2F #0A182F #0E0A2F
triadic
#0A182F #2F0A18 #182F0A
tetradic
#0A182F #2F0A2A #2F210A #0A2F0E
square
#0A182F #2F0A2A #2F210A #0A2F0E
split-complementary
#0A182F #2F0E0A #2A2F0A
monochromatic
#050D19 #050D19 #0A182F #153261 #1F4C94

Accessibility & contrast

On white

17.73
#0A182F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A182F
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A182F#FFFFFF#000000##FFFFFF
##0A182F1.0017.731.1817.73
#FFFFFF17.731.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1A30
Deuteranopia (green-blind)
#08172F
Tritanopia (blue-blind)
#001D21
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0a182f;
/* rgb */ color: rgb(10, 24, 47);
/* oklch */ color: oklch(21.1% 0.050 259.8);
Tailwind
colors: {
  custom: {
    50: '#4e5467',
    500: '#0a182f',
    950: '#000000',
  },
}
SCSS
$custom: #0a182f;
$custom-light: #4e5467;
$custom-dark: #000000;
JSON
{
  "hex": "#0a182f",
  "rgb": {
    "r": 10,
    "g": 24,
    "b": 47
  },
  "hsl": {
    "h": 217.297,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21077,
    "c": 0.04974,
    "h": 259.8
  },
  "luminance": 0.00923
}

Semantic roles & 50–950 ramp

primary
#0A182F
secondary
#6C5329
accent
#A840E8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #0A182F

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

Preview Lab → · Contrast checker → · Palette generator →

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