#0A0431#0A0431

#0A0431 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.4% C 0.085 H 279.0°. Best body text is #FFFFFF at 19.54:1 contrast (WCAG AA passes).

Color values

HEX#0A0431
RGBrgb(10, 4, 49)
HSLhsl(248, 85%, 10%)
HSVhsv(248, 92%, 19%)
CMYKcmyk(79.6%, 91.8%, 0%, 80.8%)
CIE-LABlab(3.37, 15.08, -26.60)
CIE-LCHlch(3.37, 30.58, 299.55°)
OKLaboklab(16.44% 0.0133 -0.0837)
OKLCHoklch(16.44% 0.085 279)
XYZxyz(0.7228, 0.3731, 2.9391)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0431 #2B3104
analogous
#041431 #0A0431 #200431
triadic
#0A0431 #310A04 #04310A
tetradic
#0A0431 #310414 #2B3104 #043120
square
#0A0431 #310414 #2B3104 #043120
split-complementary
#0A0431 #312004 #143104
monochromatic
#06021C #06021C #0A0431 #16096A #210DA2

Accessibility & contrast

On white

19.54
#0A0431 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A0431
19.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0431#FFFFFF#000000##FFFFFF
##0A04311.0019.541.0719.54
#FFFFFF19.541.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E32
Deuteranopia (green-blind)
#000A30
Tritanopia (blue-blind)
#00111A
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #0a0431;
/* rgb */ color: rgb(10, 4, 49);
/* oklch */ color: oklch(16.4% 0.085 279.0);
Tailwind
colors: {
  custom: {
    50: '#4e4869',
    500: '#0a0431',
    950: '#000000',
  },
}
SCSS
$custom: #0a0431;
$custom-light: #4e4869;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0431",
  "rgb": {
    "r": 10,
    "g": 4,
    "b": 49
  },
  "hsl": {
    "h": 248,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.16437,
    "c": 0.08473,
    "h": 279
  },
  "luminance": 0.00373
}

Semantic roles & 50–950 ramp

primary
#0A0431
secondary
#68731D
accent
#FB2DE0
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0A0431

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

Preview Lab → · Contrast checker → · Palette generator →

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