#0A112D#0A112D

#0A112D is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.0% C 0.057 H 269.7°. Best body text is #FFFFFF at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#0A112D
RGBrgb(10, 17, 45)
HSLhsl(228, 64%, 11%)
HSVhsv(228, 78%, 18%)
CMYKcmyk(77.8%, 62.2%, 0%, 82.4%)
CIE-LABlab(5.91, 7.24, -19.56)
CIE-LCHlch(5.91, 20.86, 290.31°)
OKLaboklab(19.01% -0.0003 -0.0571)
OKLCHoklch(19.01% 0.057 269.7)
XYZxyz(0.7991, 0.6548, 2.5664)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A112D #2D260A
analogous
#0A222D #0A112D #140A2D
triadic
#0A112D #2D0A11 #112D0A
tetradic
#0A112D #2D0A22 #2D260A #0A2D14
square
#0A112D #2D0A22 #2D260A #0A2D14
split-complementary
#0A112D #2D140A #222D0A
monochromatic
#060919 #060919 #0A112D #15245F #203791

Accessibility & contrast

On white

18.57
#0A112D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A112D
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A112D#FFFFFF#000000##FFFFFF
##0A112D1.0018.571.1318.57
#FFFFFF18.571.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0a112d;
/* rgb */ color: rgb(10, 17, 45);
/* oklch */ color: oklch(19.0% 0.057 269.7);
Tailwind
colors: {
  custom: {
    50: '#4d4f66',
    500: '#0a112d',
    950: '#000000',
  },
}
SCSS
$custom: #0a112d;
$custom-light: #4d4f66;
$custom-dark: #000000;
JSON
{
  "hex": "#0a112d",
  "rgb": {
    "r": 10,
    "g": 17,
    "b": 45
  },
  "hsl": {
    "h": 228,
    "s": 63.636,
    "l": 10.784
  },
  "oklch": {
    "l": 0.19011,
    "c": 0.05712,
    "h": 269.7
  },
  "luminance": 0.00655
}

Semantic roles & 50–950 ramp

primary
#0A112D
secondary
#6A5D29
accent
#C641E7
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #0A112D

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

Preview Lab → · Contrast checker → · Palette generator →

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