#0A042E#0A042E

#0A042E is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 16.0% C 0.080 H 280.3°. Best body text is #FFFFFF at 19.63:1 contrast (WCAG AA passes).

Color values

HEX#0A042E
RGBrgb(10, 4, 46)
HSLhsl(249, 84%, 10%)
HSVhsv(249, 91%, 18%)
CMYKcmyk(78.3%, 91.3%, 0%, 82%)
CIE-LABlab(3.15, 13.53, -24.70)
CIE-LCHlch(3.15, 28.16, 298.71°)
OKLaboklab(16.04% 0.0143 -0.0791)
OKLCHoklch(16.04% 0.08 280.3)
XYZxyz(0.6616, 0.3486, 2.6167)
Luminance0.0035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A042E #282E04
analogous
#04132E #0A042E #1F042E
triadic
#0A042E #2E0A04 #042E0A
tetradic
#0A042E #2E0413 #282E04 #042E1F
square
#0A042E #2E0413 #282E04 #042E1F
split-complementary
#0A042E #2E1F04 #132E04
monochromatic
#06021C #06021C #0A042E #160966 #220E9F

Accessibility & contrast

On white

19.63
#0A042E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#0A042E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A042E
19.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A042E#FFFFFF#000000##FFFFFF
##0A042E1.0019.631.0719.63
#FFFFFF19.631.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2F
Deuteranopia (green-blind)
#000A2D
Tritanopia (blue-blind)
#000F18
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #0a042e;
/* rgb */ color: rgb(10, 4, 46);
/* oklch */ color: oklch(16.0% 0.080 280.3);
Tailwind
colors: {
  custom: {
    50: '#4d4867',
    500: '#0a042e',
    950: '#000000',
  },
}
SCSS
$custom: #0a042e;
$custom-light: #4d4867;
$custom-dark: #000000;
JSON
{
  "hex": "#0a042e",
  "rgb": {
    "r": 10,
    "g": 4,
    "b": 46
  },
  "hsl": {
    "h": 248.571,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.16038,
    "c": 0.08036,
    "h": 280.3
  },
  "luminance": 0.00349
}

Semantic roles & 50–950 ramp

primary
#0A042E
secondary
#65711D
accent
#FA2EDD
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #0A042E

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

Preview Lab → · Contrast checker → · Palette generator →

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