#0A1147#0A1147

#0A1147 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.7% C 0.100 H 269.7°. Best body text is #FFFFFF at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#0A1147
RGBrgb(10, 17, 71)
HSLhsl(233, 75%, 16%)
HSVhsv(233, 86%, 28%)
CMYKcmyk(85.9%, 76.1%, 0%, 72.2%)
CIE-LABlab(8.31, 19.59, -34.45)
CIE-LCHlch(8.31, 39.63, 299.62°)
OKLaboklab(21.75% -0.0006 -0.0997)
OKLCHoklch(21.75% 0.1 269.7)
XYZxyz(1.4626, 0.9202, 6.0605)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A1147 #47400A
analogous
#0A2F47 #0A1147 #210A47
triadic
#0A1147 #470A11 #11470A
tetradic
#0A1147 #470A2F #47400A #0A4721
square
#0A1147 #470A2F #47400A #0A4721
split-complementary
#0A1147 #47210A #2F470A
monochromatic
#04061B #04061B #0A1147 #121E7D #192BB2

Accessibility & contrast

On white

17.74
#0A1147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A1147
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A1147#FFFFFF#000000##FFFFFF
##0A11471.0017.741.1817.74
#FFFFFF17.741.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0a1147;
/* rgb */ color: rgb(10, 17, 71);
/* oklch */ color: oklch(21.7% 0.100 269.7);
Tailwind
colors: {
  custom: {
    50: '#564f7b',
    500: '#0a1147',
    950: '#000000',
  },
}
SCSS
$custom: #0a1147;
$custom-light: #564f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0a1147",
  "rgb": {
    "r": 10,
    "g": 17,
    "b": 71
  },
  "hsl": {
    "h": 233.115,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.21748,
    "c": 0.09973,
    "h": 269.7
  },
  "luminance": 0.0092
}

Semantic roles & 50–950 ramp

primary
#0A1147
secondary
#847929
accent
#DC36F2
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030109
muted
#78777B

Preview Lab

Preview with #0A1147

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

Preview Lab → · Contrast checker → · Palette generator →

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