#0A1047#0A1047

#0A1047 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.6% C 0.101 H 270.0°. Best body text is #FFFFFF at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#0A1047
RGBrgb(10, 16, 71)
HSLhsl(234, 75%, 16%)
HSVhsv(234, 86%, 28%)
CMYKcmyk(85.9%, 77.5%, 0%, 72.2%)
CIE-LABlab(8.04, 20.32, -34.90)
CIE-LCHlch(8.04, 40.38, 300.21°)
OKLaboklab(21.55% 0 -0.101)
OKLCHoklch(21.55% 0.101 270)
XYZxyz(1.4474, 0.8899, 6.0555)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A1047 #47410A
analogous
#0A2E47 #0A1047 #220A47
triadic
#0A1047 #470A10 #10470A
tetradic
#0A1047 #470A2E #47410A #0A4722
square
#0A1047 #470A2E #47410A #0A4722
split-complementary
#0A1047 #47220A #2E470A
monochromatic
#04061B #04061B #0A1047 #121C7D #1928B2

Accessibility & contrast

On white

17.83
#0A1047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#0A1047 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A1047
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A1047#FFFFFF#000000##FFFFFF
##0A10471.0017.831.1817.83
#FFFFFF17.831.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B49
Deuteranopia (green-blind)
#001546
Tritanopia (blue-blind)
#001F2A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0a1047;
/* rgb */ color: rgb(10, 16, 71);
/* oklch */ color: oklch(21.6% 0.101 270.0);
Tailwind
colors: {
  custom: {
    50: '#564e7b',
    500: '#0a1047',
    950: '#000000',
  },
}
SCSS
$custom: #0a1047;
$custom-light: #564e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0a1047",
  "rgb": {
    "r": 10,
    "g": 16,
    "b": 71
  },
  "hsl": {
    "h": 234.098,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.21553,
    "c": 0.10103,
    "h": 270
  },
  "luminance": 0.0089
}

Semantic roles & 50–950 ramp

primary
#0A1047
secondary
#847B29
accent
#DF36F2
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030109
muted
#78777B

Preview Lab

Preview with #0A1047

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

Preview Lab → · Contrast checker → · Palette generator →

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