#0A0A41#0A0A41

#0A0A41 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.7% C 0.100 H 272.5°. Best body text is #FFFFFF at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#0A0A41
RGBrgb(10, 10, 65)
HSLhsl(240, 73%, 15%)
HSVhsv(240, 85%, 25%)
CMYKcmyk(84.6%, 84.6%, 0%, 74.5%)
CIE-LABlab(5.99, 21.24, -34.02)
CIE-LCHlch(5.99, 40.10, 301.98°)
OKLaboklab(19.73% 0.0044 -0.0994)
OKLCHoklch(19.73% 0.1 272.5)
XYZxyz(1.1875, 0.6631, 5.0654)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0A41 #41410A
analogous
#0A2641 #0A0A41 #260A41
triadic
#0A0A41 #410A0A #0A410A
tetradic
#0A0A41 #410A26 #41410A #0A4126
square
#0A0A41 #410A26 #41410A #0A4126
split-complementary
#0A0A41 #41260A #26410A
monochromatic
#04041B #04041B #0A0A41 #121276 #1A1AAB

Accessibility & contrast

On white

18.54
#0A0A41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#0A0A41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0A41
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0A41#FFFFFF#000000##FFFFFF
##0A0A411.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001643
Deuteranopia (green-blind)
#001140
Tritanopia (blue-blind)
#001A25
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0a0a41;
/* rgb */ color: rgb(10, 10, 65);
/* oklch */ color: oklch(19.7% 0.100 272.5);
Tailwind
colors: {
  custom: {
    50: '#544a76',
    500: '#0a0a41',
    950: '#000000',
  },
}
SCSS
$custom: #0a0a41;
$custom-light: #544a76;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0a41",
  "rgb": {
    "r": 10,
    "g": 10,
    "b": 65
  },
  "hsl": {
    "h": 240,
    "s": 73.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.19728,
    "c": 0.09953,
    "h": 272.5
  },
  "luminance": 0.00663
}

Semantic roles & 50–950 ramp

primary
#0A0A41
secondary
#7E7E29
accent
#F038F0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0A0A41

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

Preview Lab → · Contrast checker → · Palette generator →

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