#0A104A#0A104A

#0A104A is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.9% C 0.105 H 269.8°. Best body text is #FFFFFF at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#0A104A
RGBrgb(10, 16, 74)
HSLhsl(234, 76%, 16%)
HSVhsv(234, 86%, 29%)
CMYKcmyk(86.5%, 78.4%, 0%, 71%)
CIE-LABlab(8.39, 21.56, -36.42)
CIE-LCHlch(8.39, 42.32, 300.63°)
OKLaboklab(21.91% -0.0004 -0.1055)
OKLCHoklch(21.91% 0.105 269.8)
XYZxyz(1.5461, 0.9294, 6.5751)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A104A #4A440A
analogous
#0A304A #0A104A #240A4A
triadic
#0A104A #4A0A10 #104A0A
tetradic
#0A104A #4A0A30 #4A440A #0A4A24
square
#0A104A #4A0A30 #4A440A #0A4A24
split-complementary
#0A104A #4A240A #304A0A
monochromatic
#04061B #04061B #0A104A #111C80 #1927B6

Accessibility & contrast

On white

17.71
#0A104A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#0A104A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A104A
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A104A#FFFFFF#000000##FFFFFF
##0A104A1.0017.711.1917.71
#FFFFFF17.711.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4C
Deuteranopia (green-blind)
#001549
Tritanopia (blue-blind)
#00202B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0a104a;
/* rgb */ color: rgb(10, 16, 74);
/* oklch */ color: oklch(21.9% 0.105 269.8);
Tailwind
colors: {
  custom: {
    50: '#574e7d',
    500: '#0a104a',
    950: '#000000',
  },
}
SCSS
$custom: #0a104a;
$custom-light: #574e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#0a104a",
  "rgb": {
    "r": 10,
    "g": 16,
    "b": 74
  },
  "hsl": {
    "h": 234.375,
    "s": 76.19,
    "l": 16.471
  },
  "oklch": {
    "l": 0.21911,
    "c": 0.10546,
    "h": 269.8
  },
  "luminance": 0.0093
}

Semantic roles & 50–950 ramp

primary
#0A104A
secondary
#877E29
accent
#E135F3
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0A104A

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

Preview Lab → · Contrast checker → · Palette generator →

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