#0A0841#0A0841

#0A0841 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.4% C 0.102 H 273.1°. Best body text is #FFFFFF at 18.68:1 contrast (WCAG AA passes).

Color values

HEX#0A0841
RGBrgb(10, 8, 65)
HSLhsl(242, 78%, 14%)
HSVhsv(242, 88%, 25%)
CMYKcmyk(84.6%, 87.7%, 0%, 74.5%)
CIE-LABlab(5.60, 22.22, -34.66)
CIE-LCHlch(5.60, 41.17, 302.66°)
OKLaboklab(19.38% 0.0054 -0.1017)
OKLCHoklch(19.38% 0.102 273.1)
XYZxyz(1.1658, 0.6197, 5.0582)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0841 #3F4108
analogous
#082341 #0A0841 #270841
triadic
#0A0841 #410A08 #08410A
tetradic
#0A0841 #410823 #3F4108 #084127
square
#0A0841 #410823 #3F4108 #084127
split-complementary
#0A0841 #412708 #234108
monochromatic
#04031B #04031B #0A0841 #120F77 #1B15AE

Accessibility & contrast

On white

18.68
#0A0841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#0A0841 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0841
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0841#FFFFFF#000000##FFFFFF
##0A08411.0018.681.1218.68
#FFFFFF18.681.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001543
Deuteranopia (green-blind)
#001040
Tritanopia (blue-blind)
#001924
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0a0841;
/* rgb */ color: rgb(10, 8, 65);
/* oklch */ color: oklch(19.4% 0.102 273.1);
Tailwind
colors: {
  custom: {
    50: '#544976',
    500: '#0a0841',
    950: '#000000',
  },
}
SCSS
$custom: #0a0841;
$custom-light: #544976;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0841",
  "rgb": {
    "r": 10,
    "g": 8,
    "b": 65
  },
  "hsl": {
    "h": 242.105,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.19385,
    "c": 0.10189,
    "h": 273.1
  },
  "luminance": 0.0062
}

Semantic roles & 50–950 ramp

primary
#0A0841
secondary
#7C7F25
accent
#F533EE
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0A0841

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

Preview Lab → · Contrast checker → · Palette generator →

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