#0A0846#0A0846

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

Color values

HEX#0A0846
RGBrgb(10, 8, 70)
HSLhsl(242, 79%, 15%)
HSVhsv(242, 89%, 27%)
CMYKcmyk(85.7%, 88.6%, 0%, 72.5%)
CIE-LABlab(6.14, 24.65, -37.31)
CIE-LCHlch(6.14, 44.72, 303.45°)
OKLaboklab(20.05% 0.0041 -0.1088)
OKLCHoklch(20.05% 0.109 272.2)
XYZxyz(1.3171, 0.6802, 5.8550)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0846 #444608
analogous
#082546 #0A0846 #290846
triadic
#0A0846 #460A08 #08460A
tetradic
#0A0846 #460825 #444608 #084629
square
#0A0846 #460825 #444608 #084629
split-complementary
#0A0846 #462908 #254608
monochromatic
#04031B #04031B #0A0846 #120E7D #1A15B4

Accessibility & contrast

On white

18.49
#0A0846 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A0846
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0846#FFFFFF#000000##FFFFFF
##0A08461.0018.491.1418.49
#FFFFFF18.491.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001748
Deuteranopia (green-blind)
#001045
Tritanopia (blue-blind)
#001B27
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0a0846;
/* rgb */ color: rgb(10, 8, 70);
/* oklch */ color: oklch(20.1% 0.109 272.2);
Tailwind
colors: {
  custom: {
    50: '#56497a',
    500: '#0a0846',
    950: '#000000',
  },
}
SCSS
$custom: #0a0846;
$custom-light: #56497a;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0846",
  "rgb": {
    "r": 10,
    "g": 8,
    "b": 70
  },
  "hsl": {
    "h": 241.935,
    "s": 79.487,
    "l": 15.294
  },
  "oklch": {
    "l": 0.20052,
    "c": 0.10888,
    "h": 272.2
  },
  "luminance": 0.0068
}

Semantic roles & 50–950 ramp

primary
#0A0846
secondary
#818426
accent
#F632F0
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0A0846

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

Preview Lab → · Contrast checker → · Palette generator →

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