#0A112F#0A112F

#0A112F is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.2% C 0.061 H 269.9°. Best body text is #FFFFFF at 18.52:1 contrast (WCAG AA passes).

Color values

HEX#0A112F
RGBrgb(10, 17, 47)
HSLhsl(229, 65%, 11%)
HSVhsv(229, 79%, 18%)
CMYKcmyk(78.7%, 63.8%, 0%, 81.6%)
CIE-LABlab(6.06, 8.24, -20.82)
CIE-LCHlch(6.06, 22.39, 291.59°)
OKLaboklab(19.2% -0.0001 -0.0607)
OKLCHoklch(19.2% 0.061 269.9)
XYZxyz(0.8385, 0.6706, 2.7740)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A112F #2F280A
analogous
#0A232F #0A112F #150A2F
triadic
#0A112F #2F0A11 #112F0A
tetradic
#0A112F #2F0A23 #2F280A #0A2F15
square
#0A112F #2F0A23 #2F280A #0A2F15
split-complementary
#0A112F #2F150A #232F0A
monochromatic
#050919 #050919 #0A112F #152361 #1F3694

Accessibility & contrast

On white

18.52
#0A112F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A112F
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A112F#FFFFFF#000000##FFFFFF
##0A112F1.0018.521.1318.52
#FFFFFF18.521.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0a112f;
/* rgb */ color: rgb(10, 17, 47);
/* oklch */ color: oklch(19.2% 0.061 269.9);
Tailwind
colors: {
  custom: {
    50: '#4e4f68',
    500: '#0a112f',
    950: '#000000',
  },
}
SCSS
$custom: #0a112f;
$custom-light: #4e4f68;
$custom-dark: #000000;
JSON
{
  "hex": "#0a112f",
  "rgb": {
    "r": 10,
    "g": 17,
    "b": 47
  },
  "hsl": {
    "h": 228.649,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.19196,
    "c": 0.06067,
    "h": 269.9
  },
  "luminance": 0.00671
}

Semantic roles & 50–950 ramp

primary
#0A112F
secondary
#6C5F29
accent
#C840E8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0A112F

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

Preview Lab → · Contrast checker → · Palette generator →

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