#0A0A4A#0A0A4A

#0A0A4A is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.9% C 0.112 H 271.2°. Best body text is #FFFFFF at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#0A0A4A
RGBrgb(10, 10, 74)
HSLhsl(240, 76%, 16%)
HSVhsv(240, 86%, 29%)
CMYKcmyk(86.5%, 86.5%, 0%, 71%)
CIE-LABlab(7.01, 25.38, -38.69)
CIE-LCHlch(7.01, 46.27, 303.26°)
OKLaboklab(20.9% 0.0023 -0.1122)
OKLCHoklch(20.9% 0.112 271.2)
XYZxyz(1.4693, 0.7759, 6.5496)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0A4A #4A4A0A
analogous
#0A2A4A #0A0A4A #2A0A4A
triadic
#0A0A4A #4A0A0A #0A4A0A
tetradic
#0A0A4A #4A0A2A #4A4A0A #0A4A2A
square
#0A0A4A #4A0A2A #4A4A0A #0A4A2A
split-complementary
#0A0A4A #4A2A0A #2A4A0A
monochromatic
#04041B #04041B #0A0A4A #111180 #1919B6

Accessibility & contrast

On white

18.18
#0A0A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0A0A4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0A4A
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0A4A#FFFFFF#000000##FFFFFF
##0A0A4A1.0018.181.1618.18
#FFFFFF18.181.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00194C
Deuteranopia (green-blind)
#001249
Tritanopia (blue-blind)
#001E2A
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0a0a4a;
/* rgb */ color: rgb(10, 10, 74);
/* oklch */ color: oklch(20.9% 0.112 271.2);
Tailwind
colors: {
  custom: {
    50: '#574a7d',
    500: '#0a0a4a',
    950: '#000000',
  },
}
SCSS
$custom: #0a0a4a;
$custom-light: #574a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0a4a",
  "rgb": {
    "r": 10,
    "g": 10,
    "b": 74
  },
  "hsl": {
    "h": 240,
    "s": 76.19,
    "l": 16.471
  },
  "oklch": {
    "l": 0.20898,
    "c": 0.11227,
    "h": 271.2
  },
  "luminance": 0.00776
}

Semantic roles & 50–950 ramp

primary
#0A0A4A
secondary
#878729
accent
#F335F3
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0A0A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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