#0A0A47#0A0A47

#0A0A47 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.5% C 0.108 H 271.6°. Best body text is #FFFFFF at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#0A0A47
RGBrgb(10, 10, 71)
HSLhsl(240, 75%, 16%)
HSVhsv(240, 86%, 28%)
CMYKcmyk(85.9%, 85.9%, 0%, 72.2%)
CIE-LABlab(6.65, 24.07, -37.18)
CIE-LCHlch(6.65, 44.29, 302.92°)
OKLaboklab(20.5% 0.003 -0.108)
OKLCHoklch(20.5% 0.108 271.6)
XYZxyz(1.3707, 0.7364, 6.0299)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0A47 #47470A
analogous
#0A2847 #0A0A47 #280A47
triadic
#0A0A47 #470A0A #0A470A
tetradic
#0A0A47 #470A28 #47470A #0A4728
square
#0A0A47 #470A28 #47470A #0A4728
split-complementary
#0A0A47 #47280A #28470A
monochromatic
#04041B #04041B #0A0A47 #12127D #1919B2

Accessibility & contrast

On white

18.30
#0A0A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A0A47
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0A47#FFFFFF#000000##FFFFFF
##0A0A471.0018.301.1518.30
#FFFFFF18.301.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001849
Deuteranopia (green-blind)
#001246
Tritanopia (blue-blind)
#001C28
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0a0a47;
/* rgb */ color: rgb(10, 10, 71);
/* oklch */ color: oklch(20.5% 0.108 271.6);
Tailwind
colors: {
  custom: {
    50: '#564a7b',
    500: '#0a0a47',
    950: '#000000',
  },
}
SCSS
$custom: #0a0a47;
$custom-light: #564a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0a47",
  "rgb": {
    "r": 10,
    "g": 10,
    "b": 71
  },
  "hsl": {
    "h": 240,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.20504,
    "c": 0.10809,
    "h": 271.6
  },
  "luminance": 0.00737
}

Semantic roles & 50–950 ramp

primary
#0A0A47
secondary
#848429
accent
#F236F2
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0A0A47

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

Preview Lab → · Contrast checker → · Palette generator →

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