#0A112A#0A112A

#0A112A is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.7% C 0.052 H 269.2°. Best body text is #FFFFFF at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#0A112A
RGBrgb(10, 17, 42)
HSLhsl(227, 62%, 10%)
HSVhsv(227, 76%, 16%)
CMYKcmyk(76.2%, 59.5%, 0%, 83.5%)
CIE-LABlab(5.71, 5.83, -17.63)
CIE-LCHlch(5.71, 18.57, 288.28°)
OKLaboklab(18.74% -0.0007 -0.0517)
OKLCHoklch(18.74% 0.052 269.2)
XYZxyz(0.7434, 0.6325, 2.2730)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A112A #2A230A
analogous
#0A212A #0A112A #130A2A
triadic
#0A112A #2A0A11 #112A0A
tetradic
#0A112A #2A0A21 #2A230A #0A2A13
square
#0A112A #2A0A21 #2A230A #0A2A13
split-complementary
#0A112A #2A130A #212A0A
monochromatic
#060A19 #060A19 #0A112A #16255B #22398D

Accessibility & contrast

On white

18.64
#0A112A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#0A112A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A112A
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A112A#FFFFFF#000000##FFFFFF
##0A112A1.0018.641.1318.64
#FFFFFF18.641.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05142B
Deuteranopia (green-blind)
#021129
Tritanopia (blue-blind)
#00171B
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0a112a;
/* rgb */ color: rgb(10, 17, 42);
/* oklch */ color: oklch(18.7% 0.052 269.2);
Tailwind
colors: {
  custom: {
    50: '#4c4f63',
    500: '#0a112a',
    950: '#000000',
  },
}
SCSS
$custom: #0a112a;
$custom-light: #4c4f63;
$custom-dark: #000000;
JSON
{
  "hex": "#0a112a",
  "rgb": {
    "r": 10,
    "g": 17,
    "b": 42
  },
  "hsl": {
    "h": 226.875,
    "s": 61.538,
    "l": 10.196
  },
  "oklch": {
    "l": 0.18742,
    "c": 0.0517,
    "h": 269.2
  },
  "luminance": 0.00633
}

Semantic roles & 50–950 ramp

primary
#0A112A
secondary
#675929
accent
#C143E5
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #0A112A

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

Preview Lab → · Contrast checker → · Palette generator →

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