#0A042F#0A042F

#0A042F is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.2% C 0.082 H 279.8°. Best body text is #FFFFFF at 19.60:1 contrast (WCAG AA passes).

Color values

HEX#0A042F
RGBrgb(10, 4, 47)
HSLhsl(248, 84%, 10%)
HSVhsv(248, 91%, 18%)
CMYKcmyk(78.7%, 91.5%, 0%, 81.6%)
CIE-LABlab(3.22, 14.04, -25.34)
CIE-LCHlch(3.22, 28.97, 298.98°)
OKLaboklab(16.17% 0.014 -0.0806)
OKLCHoklch(16.17% 0.082 279.8)
XYZxyz(0.6815, 0.3565, 2.7217)
Luminance0.0036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A042F #292F04
analogous
#04142F #0A042F #1F042F
triadic
#0A042F #2F0A04 #042F0A
tetradic
#0A042F #2F0414 #292F04 #042F1F
square
#0A042F #2F0414 #292F04 #042F1F
split-complementary
#0A042F #2F1F04 #142F04
monochromatic
#06021C #06021C #0A042F #160967 #220EA0

Accessibility & contrast

On white

19.60
#0A042F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A042F
19.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A042F#FFFFFF#000000##FFFFFF
##0A042F1.0019.601.0719.60
#FFFFFF19.601.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D30
Deuteranopia (green-blind)
#000A2E
Tritanopia (blue-blind)
#001019
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #0a042f;
/* rgb */ color: rgb(10, 4, 47);
/* oklch */ color: oklch(16.2% 0.082 279.8);
Tailwind
colors: {
  custom: {
    50: '#4d4868',
    500: '#0a042f',
    950: '#000000',
  },
}
SCSS
$custom: #0a042f;
$custom-light: #4d4868;
$custom-dark: #000000;
JSON
{
  "hex": "#0a042f",
  "rgb": {
    "r": 10,
    "g": 4,
    "b": 47
  },
  "hsl": {
    "h": 248.372,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.1617,
    "c": 0.08182,
    "h": 279.8
  },
  "luminance": 0.00357
}

Semantic roles & 50–950 ramp

primary
#0A042F
secondary
#66721D
accent
#FB2DDE
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0A042F

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

Preview Lab → · Contrast checker → · Palette generator →

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