#0A0C46#0A0C46

#0A0C46 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.7% C 0.104 H 271.3°. Best body text is #FFFFFF at 18.20:1 contrast (WCAG AA passes).

Color values

HEX#0A0C46
RGBrgb(10, 12, 70)
HSLhsl(238, 75%, 16%)
HSVhsv(238, 86%, 27%)
CMYKcmyk(85.7%, 82.9%, 0%, 72.5%)
CIE-LABlab(6.95, 22.51, -35.98)
CIE-LCHlch(6.95, 42.45, 302.03°)
OKLaboklab(20.7% 0.0023 -0.1044)
OKLCHoklch(20.7% 0.104 271.3)
XYZxyz(1.3618, 0.7695, 5.8699)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0C46 #46440A
analogous
#0A2A46 #0A0C46 #260A46
triadic
#0A0C46 #460A0C #0C460A
tetradic
#0A0C46 #460A2A #46440A #0A4626
square
#0A0C46 #460A2A #46440A #0A4626
split-complementary
#0A0C46 #46260A #2A460A
monochromatic
#04051B #04051B #0A0C46 #12157C #191EB1

Accessibility & contrast

On white

18.20
#0A0C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#0A0C46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0C46
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0C46#FFFFFF#000000##FFFFFF
##0A0C461.0018.201.1518.20
#FFFFFF18.201.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001848
Deuteranopia (green-blind)
#001245
Tritanopia (blue-blind)
#001D28
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0a0c46;
/* rgb */ color: rgb(10, 12, 70);
/* oklch */ color: oklch(20.7% 0.104 271.3);
Tailwind
colors: {
  custom: {
    50: '#564b7a',
    500: '#0a0c46',
    950: '#000000',
  },
}
SCSS
$custom: #0a0c46;
$custom-light: #564b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0c46",
  "rgb": {
    "r": 10,
    "g": 12,
    "b": 70
  },
  "hsl": {
    "h": 238,
    "s": 75,
    "l": 15.686
  },
  "oklch": {
    "l": 0.20702,
    "c": 0.10446,
    "h": 271.3
  },
  "luminance": 0.0077
}

Semantic roles & 50–950 ramp

primary
#0A0C46
secondary
#838029
accent
#EB36F2
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030109
muted
#78777B

Preview Lab

Preview with #0A0C46

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

Preview Lab → · Contrast checker → · Palette generator →

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