#0A112B#0A112B

#0A112B is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.8% C 0.054 H 269.4°. Best body text is #FFFFFF at 18.62:1 contrast (WCAG AA passes).

Color values

HEX#0A112B
RGBrgb(10, 17, 43)
HSLhsl(227, 62%, 10%)
HSVhsv(227, 77%, 17%)
CMYKcmyk(76.7%, 60.5%, 0%, 83.1%)
CIE-LABlab(5.78, 6.28, -18.28)
CIE-LCHlch(5.78, 19.33, 288.97°)
OKLaboklab(18.83% -0.0006 -0.0535)
OKLCHoklch(18.83% 0.054 269.4)
XYZxyz(0.7615, 0.6398, 2.3684)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A112B #2B240A
analogous
#0A212B #0A112B #130A2B
triadic
#0A112B #2B0A11 #112B0A
tetradic
#0A112B #2B0A21 #2B240A #0A2B13
square
#0A112B #2B0A21 #2B240A #0A2B13
split-complementary
#0A112B #2B130A #212B0A
monochromatic
#060A19 #060A19 #0A112B #16255D #21388E

Accessibility & contrast

On white

18.62
#0A112B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A112B
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A112B#FFFFFF#000000##FFFFFF
##0A112B1.0018.621.1318.62
#FFFFFF18.621.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0a112b;
/* rgb */ color: rgb(10, 17, 43);
/* oklch */ color: oklch(18.8% 0.054 269.4);
Tailwind
colors: {
  custom: {
    50: '#4d4f64',
    500: '#0a112b',
    950: '#000000',
  },
}
SCSS
$custom: #0a112b;
$custom-light: #4d4f64;
$custom-dark: #000000;
JSON
{
  "hex": "#0a112b",
  "rgb": {
    "r": 10,
    "g": 17,
    "b": 43
  },
  "hsl": {
    "h": 227.273,
    "s": 62.264,
    "l": 10.392
  },
  "oklch": {
    "l": 0.1883,
    "c": 0.05351,
    "h": 269.4
  },
  "luminance": 0.0064
}

Semantic roles & 50–950 ramp

primary
#0A112B
secondary
#685B29
accent
#C342E5
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #0A112B

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

Preview Lab → · Contrast checker → · Palette generator →

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