#0A042D#0A042D

#0A042D is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.9% C 0.079 H 280.7°. Best body text is #FFFFFF at 19.66:1 contrast (WCAG AA passes).

Color values

HEX#0A042D
RGBrgb(10, 4, 45)
HSLhsl(249, 84%, 10%)
HSVhsv(249, 91%, 18%)
CMYKcmyk(77.8%, 91.1%, 0%, 82.4%)
CIE-LABlab(3.08, 13.03, -24.06)
CIE-LCHlch(3.08, 27.36, 298.45°)
OKLaboklab(15.91% 0.0147 -0.0775)
OKLCHoklch(15.91% 0.079 280.7)
XYZxyz(0.6421, 0.3408, 2.5141)
Luminance0.0034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A042D #272D04
analogous
#04132D #0A042D #1F042D
triadic
#0A042D #2D0A04 #042D0A
tetradic
#0A042D #2D0413 #272D04 #042D1F
square
#0A042D #2D0413 #272D04 #042D1F
split-complementary
#0A042D #2D1F04 #132D04
monochromatic
#06021C #06021C #0A042D #160965 #230E9D

Accessibility & contrast

On white

19.66
#0A042D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A042D
19.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A042D#FFFFFF#000000##FFFFFF
##0A042D1.0019.661.0719.66
#FFFFFF19.661.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2E
Deuteranopia (green-blind)
#000A2C
Tritanopia (blue-blind)
#000F17
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #0a042d;
/* rgb */ color: rgb(10, 4, 45);
/* oklch */ color: oklch(15.9% 0.079 280.7);
Tailwind
colors: {
  custom: {
    50: '#4c4866',
    500: '#0a042d',
    950: '#000000',
  },
}
SCSS
$custom: #0a042d;
$custom-light: #4c4866;
$custom-dark: #000000;
JSON
{
  "hex": "#0a042d",
  "rgb": {
    "r": 10,
    "g": 4,
    "b": 45
  },
  "hsl": {
    "h": 248.78,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.15906,
    "c": 0.07888,
    "h": 280.7
  },
  "luminance": 0.00341
}

Semantic roles & 50–950 ramp

primary
#0A042D
secondary
#64701D
accent
#FA2EDC
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #0A042D

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

Preview Lab → · Contrast checker → · Palette generator →

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