#0A1041#0A1041

#0A1041 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.9% C 0.092 H 270.4°. Best body text is #FFFFFF at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#0A1041
RGBrgb(10, 16, 65)
HSLhsl(233, 73%, 15%)
HSVhsv(233, 85%, 25%)
CMYKcmyk(84.6%, 75.4%, 0%, 74.5%)
CIE-LABlab(7.38, 17.71, -31.75)
CIE-LCHlch(7.38, 36.35, 299.15°)
OKLaboklab(20.86% 0.0007 -0.0919)
OKLCHoklch(20.86% 0.092 270.4)
XYZxyz(1.2643, 0.8166, 5.0910)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A1041 #413B0A
analogous
#0A2B41 #0A1041 #200A41
triadic
#0A1041 #410A10 #10410A
tetradic
#0A1041 #410A2B #413B0A #0A4120
square
#0A1041 #410A2B #413B0A #0A4120
split-complementary
#0A1041 #41200A #2B410A
monochromatic
#04071B #04071B #0A1041 #121D76 #1A2AAB

Accessibility & contrast

On white

18.05
#0A1041 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0A1041 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A1041
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A1041#FFFFFF#000000##FFFFFF
##0A10411.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001943
Deuteranopia (green-blind)
#001440
Tritanopia (blue-blind)
#001D26
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0a1041;
/* rgb */ color: rgb(10, 16, 65);
/* oklch */ color: oklch(20.9% 0.092 270.4);
Tailwind
colors: {
  custom: {
    50: '#544e76',
    500: '#0a1041',
    950: '#000000',
  },
}
SCSS
$custom: #0a1041;
$custom-light: #544e76;
$custom-dark: #000000;
JSON
{
  "hex": "#0a1041",
  "rgb": {
    "r": 10,
    "g": 16,
    "b": 65
  },
  "hsl": {
    "h": 233.455,
    "s": 73.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.20855,
    "c": 0.09192,
    "h": 270.4
  },
  "luminance": 0.00817
}

Semantic roles & 50–950 ramp

primary
#0A1041
secondary
#7E7529
accent
#DC38F0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0A1041

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

Preview Lab → · Contrast checker → · Palette generator →

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