#0A042C#0A042C

#0A042C is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.8% C 0.077 H 281.2°. Best body text is #FFFFFF at 19.69:1 contrast (WCAG AA passes).

Color values

HEX#0A042C
RGBrgb(10, 4, 44)
HSLhsl(249, 83%, 9%)
HSVhsv(249, 91%, 17%)
CMYKcmyk(77.3%, 90.9%, 0%, 82.7%)
CIE-LABlab(3.01, 12.55, -23.41)
CIE-LCHlch(3.01, 26.56, 298.20°)
OKLaboklab(15.78% 0.015 -0.0759)
OKLCHoklch(15.78% 0.077 281.2)
XYZxyz(0.6231, 0.3332, 2.4139)
Luminance0.0033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A042C #262C04
analogous
#04122C #0A042C #1E042C
triadic
#0A042C #2C0A04 #042C0A
tetradic
#0A042C #2C0412 #262C04 #042C1E
square
#0A042C #2C0412 #262C04 #042C1E
split-complementary
#0A042C #2C1E04 #122C04
monochromatic
#06031C #06031C #0A042C #170964 #240E9C

Accessibility & contrast

On white

19.69
#0A042C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A042C
19.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A042C#FFFFFF#000000##FFFFFF
##0A042C1.0019.691.0719.69
#FFFFFF19.691.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C2D
Deuteranopia (green-blind)
#00092B
Tritanopia (blue-blind)
#000F17
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #0a042c;
/* rgb */ color: rgb(10, 4, 44);
/* oklch */ color: oklch(15.8% 0.077 281.2);
Tailwind
colors: {
  custom: {
    50: '#4c4865',
    500: '#0a042c',
    950: '#000000',
  },
}
SCSS
$custom: #0a042c;
$custom-light: #4c4865;
$custom-dark: #000000;
JSON
{
  "hex": "#0a042c",
  "rgb": {
    "r": 10,
    "g": 4,
    "b": 44
  },
  "hsl": {
    "h": 249,
    "s": 83.333,
    "l": 9.412
  },
  "oklch": {
    "l": 0.15776,
    "c": 0.0774,
    "h": 281.2
  },
  "luminance": 0.00333
}

Semantic roles & 50–950 ramp

primary
#0A042C
secondary
#626F1D
accent
#FA2EDB
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010005
muted
#77777A

Preview Lab

Preview with #0A042C

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

Preview Lab → · Contrast checker → · Palette generator →

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