#0A042A#0A042A

#0A042A is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.5% C 0.074 H 282.2°. Best body text is #FFFFFF at 19.74:1 contrast (WCAG AA passes).

Color values

HEX#0A042A
RGBrgb(10, 4, 42)
HSLhsl(249, 83%, 9%)
HSVhsv(249, 90%, 16%)
CMYKcmyk(76.2%, 90.5%, 0%, 83.5%)
CIE-LABlab(2.88, 11.62, -22.10)
CIE-LCHlch(2.88, 24.97, 297.74°)
OKLaboklab(15.52% 0.0157 -0.0727)
OKLCHoklch(15.52% 0.074 282.2)
XYZxyz(0.5864, 0.3185, 2.2206)
Luminance0.0032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A042A #242A04
analogous
#04112A #0A042A #1D042A
triadic
#0A042A #2A0A04 #042A0A
tetradic
#0A042A #2A0411 #242A04 #042A1D
square
#0A042A #2A0411 #242A04 #042A1D
split-complementary
#0A042A #2A1D04 #112A04
monochromatic
#07031C #07031C #0A042A #170962 #250F9A

Accessibility & contrast

On white

19.74
#0A042A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#0A042A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A042A
19.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A042A#FFFFFF#000000##FFFFFF
##0A042A1.0019.741.0619.74
#FFFFFF19.741.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C2B
Deuteranopia (green-blind)
#000929
Tritanopia (blue-blind)
#000E16
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #0a042a;
/* rgb */ color: rgb(10, 4, 42);
/* oklch */ color: oklch(15.5% 0.074 282.2);
Tailwind
colors: {
  custom: {
    50: '#4c4864',
    500: '#0a042a',
    950: '#000000',
  },
}
SCSS
$custom: #0a042a;
$custom-light: #4c4864;
$custom-dark: #000000;
JSON
{
  "hex": "#0a042a",
  "rgb": {
    "r": 10,
    "g": 4,
    "b": 42
  },
  "hsl": {
    "h": 249.474,
    "s": 82.609,
    "l": 9.02
  },
  "oklch": {
    "l": 0.15517,
    "c": 0.07441,
    "h": 282.2
  },
  "luminance": 0.00319
}

Semantic roles & 50–950 ramp

primary
#0A042A
secondary
#606D1D
accent
#F92FD9
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#010005
muted
#777779

Preview Lab

Preview with #0A042A

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

Preview Lab → · Contrast checker → · Palette generator →

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