#0A0C41#0A0C41

#0A0C41 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.1% C 0.097 H 271.9°. Best body text is #FFFFFF at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#0A0C41
RGBrgb(10, 12, 65)
HSLhsl(238, 73%, 15%)
HSVhsv(238, 85%, 25%)
CMYKcmyk(84.6%, 81.5%, 0%, 74.5%)
CIE-LABlab(6.40, 20.19, -33.34)
CIE-LCHlch(6.40, 38.98, 301.20°)
OKLaboklab(20.08% 0.0033 -0.0971)
OKLCHoklch(20.08% 0.097 271.9)
XYZxyz(1.2105, 0.7090, 5.0731)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0C41 #413F0A
analogous
#0A2841 #0A0C41 #240A41
triadic
#0A0C41 #410A0C #0C410A
tetradic
#0A0C41 #410A28 #413F0A #0A4124
square
#0A0C41 #410A28 #413F0A #0A4124
split-complementary
#0A0C41 #41240A #28410A
monochromatic
#04051B #04051B #0A0C41 #121676 #1A20AB

Accessibility & contrast

On white

18.39
#0A0C41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#0A0C41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0C41
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0C41#FFFFFF#000000##FFFFFF
##0A0C411.0018.391.1418.39
#FFFFFF18.391.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001743
Deuteranopia (green-blind)
#001240
Tritanopia (blue-blind)
#001B25
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0a0c41;
/* rgb */ color: rgb(10, 12, 65);
/* oklch */ color: oklch(20.1% 0.097 271.9);
Tailwind
colors: {
  custom: {
    50: '#544b76',
    500: '#0a0c41',
    950: '#000000',
  },
}
SCSS
$custom: #0a0c41;
$custom-light: #544b76;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0c41",
  "rgb": {
    "r": 10,
    "g": 12,
    "b": 65
  },
  "hsl": {
    "h": 237.818,
    "s": 73.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.20078,
    "c": 0.09714,
    "h": 271.9
  },
  "luminance": 0.00709
}

Semantic roles & 50–950 ramp

primary
#0A0C41
secondary
#7E7B29
accent
#E938F0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0A0C41

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

Preview Lab → · Contrast checker → · Palette generator →

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