#0A113A#0A113A

#0A113A is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.3% C 0.079 H 270.2°. Best body text is #FFFFFF at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#0A113A
RGBrgb(10, 17, 58)
HSLhsl(231, 71%, 13%)
HSVhsv(231, 83%, 23%)
CMYKcmyk(82.8%, 70.7%, 0%, 77.3%)
CIE-LABlab(6.96, 13.75, -27.41)
CIE-LCHlch(6.96, 30.66, 296.63°)
OKLaboklab(20.3% 0.0003 -0.0794)
OKLCHoklch(20.3% 0.079 270.2)
XYZxyz(1.0891, 0.7708, 4.0936)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A113A #3A330A
analogous
#0A293A #0A113A #1B0A3A
triadic
#0A113A #3A0A11 #113A0A
tetradic
#0A113A #3A0A29 #3A330A #0A3A1B
square
#0A113A #3A0A29 #3A330A #0A3A1B
split-complementary
#0A113A #3A1B0A #293A0A
monochromatic
#05081A #05081A #0A113A #13206E #1C30A2

Accessibility & contrast

On white

18.19
#0A113A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#0A113A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A113A
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A113A#FFFFFF#000000##FFFFFF
##0A113A1.0018.191.1518.19
#FFFFFF18.191.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183B
Deuteranopia (green-blind)
#001339
Tritanopia (blue-blind)
#001B23
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0a113a;
/* rgb */ color: rgb(10, 17, 58);
/* oklch */ color: oklch(20.3% 0.079 270.2);
Tailwind
colors: {
  custom: {
    50: '#514e71',
    500: '#0a113a',
    950: '#000000',
  },
}
SCSS
$custom: #0a113a;
$custom-light: #514e71;
$custom-dark: #000000;
JSON
{
  "hex": "#0a113a",
  "rgb": {
    "r": 10,
    "g": 17,
    "b": 58
  },
  "hsl": {
    "h": 231.25,
    "s": 70.588,
    "l": 13.333
  },
  "oklch": {
    "l": 0.203,
    "c": 0.07936,
    "h": 270.2
  },
  "luminance": 0.00771
}

Semantic roles & 50–950 ramp

primary
#0A113A
secondary
#776C28
accent
#D33AED
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #0A113A

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

Preview Lab → · Contrast checker → · Palette generator →

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