#0A042B#0A042B

#0A042B is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.6% C 0.076 H 281.7°. Best body text is #FFFFFF at 19.71:1 contrast (WCAG AA passes).

Color values

HEX#0A042B
RGBrgb(10, 4, 43)
HSLhsl(249, 83%, 9%)
HSVhsv(249, 91%, 17%)
CMYKcmyk(76.7%, 90.7%, 0%, 83.1%)
CIE-LABlab(2.94, 12.08, -22.76)
CIE-LCHlch(2.94, 25.76, 297.96°)
OKLaboklab(15.65% 0.0154 -0.0743)
OKLCHoklch(15.65% 0.076 281.7)
XYZxyz(0.6045, 0.3257, 2.3160)
Luminance0.0033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A042B #252B04
analogous
#04122B #0A042B #1E042B
triadic
#0A042B #2B0A04 #042B0A
tetradic
#0A042B #2B0412 #252B04 #042B1E
square
#0A042B #2B0412 #252B04 #042B1E
split-complementary
#0A042B #2B1E04 #122B04
monochromatic
#07031C #07031C #0A042B #170963 #240E9B

Accessibility & contrast

On white

19.71
#0A042B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A042B
19.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A042B#FFFFFF#000000##FFFFFF
##0A042B1.0019.711.0719.71
#FFFFFF19.711.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C2C
Deuteranopia (green-blind)
#00092A
Tritanopia (blue-blind)
#000E16
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #0a042b;
/* rgb */ color: rgb(10, 4, 43);
/* oklch */ color: oklch(15.6% 0.076 281.7);
Tailwind
colors: {
  custom: {
    50: '#4c4864',
    500: '#0a042b',
    950: '#000000',
  },
}
SCSS
$custom: #0a042b;
$custom-light: #4c4864;
$custom-dark: #000000;
JSON
{
  "hex": "#0a042b",
  "rgb": {
    "r": 10,
    "g": 4,
    "b": 43
  },
  "hsl": {
    "h": 249.231,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.15646,
    "c": 0.0759,
    "h": 281.7
  },
  "luminance": 0.00326
}

Semantic roles & 50–950 ramp

primary
#0A042B
secondary
#616E1D
accent
#F92EDA
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010005
muted
#77777A

Preview Lab

Preview with #0A042B

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

Preview Lab → · Contrast checker → · Palette generator →

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