#0A112E#0A112E

#0A112E is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.1% C 0.059 H 269.8°. Best body text is #FFFFFF at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#0A112E
RGBrgb(10, 17, 46)
HSLhsl(228, 64%, 11%)
HSVhsv(228, 78%, 18%)
CMYKcmyk(78.3%, 63%, 0%, 82%)
CIE-LABlab(5.99, 7.73, -20.19)
CIE-LCHlch(5.99, 21.62, 290.96°)
OKLaboklab(19.1% -0.0002 -0.0589)
OKLCHoklch(19.1% 0.059 269.8)
XYZxyz(0.8186, 0.6626, 2.6690)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A112E #2E270A
analogous
#0A232E #0A112E #150A2E
triadic
#0A112E #2E0A11 #112E0A
tetradic
#0A112E #2E0A23 #2E270A #0A2E15
square
#0A112E #2E0A23 #2E270A #0A2E15
split-complementary
#0A112E #2E150A #232E0A
monochromatic
#050919 #050919 #0A112E #152460 #203693

Accessibility & contrast

On white

18.54
#0A112E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A112E
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A112E#FFFFFF#000000##FFFFFF
##0A112E1.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03152F
Deuteranopia (green-blind)
#00122D
Tritanopia (blue-blind)
#00181D
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0a112e;
/* rgb */ color: rgb(10, 17, 46);
/* oklch */ color: oklch(19.1% 0.059 269.8);
Tailwind
colors: {
  custom: {
    50: '#4d4f67',
    500: '#0a112e',
    950: '#000000',
  },
}
SCSS
$custom: #0a112e;
$custom-light: #4d4f67;
$custom-dark: #000000;
JSON
{
  "hex": "#0a112e",
  "rgb": {
    "r": 10,
    "g": 17,
    "b": 46
  },
  "hsl": {
    "h": 228.333,
    "s": 64.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.19103,
    "c": 0.0589,
    "h": 269.8
  },
  "luminance": 0.00663
}

Semantic roles & 50–950 ramp

primary
#0A112E
secondary
#6B5E29
accent
#C741E7
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0A112E

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

Preview Lab → · Contrast checker → · Palette generator →

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