#0A0847#0A0847

#0A0847 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.2% C 0.110 H 272.0°. Best body text is #FFFFFF at 18.44:1 contrast (WCAG AA passes).

Color values

HEX#0A0847
RGBrgb(10, 8, 71)
HSLhsl(242, 80%, 15%)
HSVhsv(242, 89%, 28%)
CMYKcmyk(85.9%, 88.7%, 0%, 72.2%)
CIE-LABlab(6.26, 25.11, -37.82)
CIE-LCHlch(6.26, 45.40, 303.58°)
OKLaboklab(20.19% 0.0039 -0.1102)
OKLCHoklch(20.19% 0.11 272)
XYZxyz(1.3490, 0.6930, 6.0227)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0847 #454708
analogous
#082547 #0A0847 #290847
triadic
#0A0847 #470A08 #08470A
tetradic
#0A0847 #470825 #454708 #084729
square
#0A0847 #470825 #454708 #084729
split-complementary
#0A0847 #472908 #254708
monochromatic
#04031C #04031C #0A0847 #120E7E #1914B5

Accessibility & contrast

On white

18.44
#0A0847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A0847
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0847#FFFFFF#000000##FFFFFF
##0A08471.0018.441.1418.44
#FFFFFF18.441.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001749
Deuteranopia (green-blind)
#001146
Tritanopia (blue-blind)
#001C28
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0a0847;
/* rgb */ color: rgb(10, 8, 71);
/* oklch */ color: oklch(20.2% 0.110 272.0);
Tailwind
colors: {
  custom: {
    50: '#56497b',
    500: '#0a0847',
    950: '#000000',
  },
}
SCSS
$custom: #0a0847;
$custom-light: #56497b;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0847",
  "rgb": {
    "r": 10,
    "g": 8,
    "b": 71
  },
  "hsl": {
    "h": 241.905,
    "s": 79.747,
    "l": 15.49
  },
  "oklch": {
    "l": 0.20187,
    "c": 0.11026,
    "h": 272
  },
  "luminance": 0.00693
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #0A0847

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

Preview Lab → · Contrast checker → · Palette generator →

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