#0A0848#0A0848

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

Color values

HEX#0A0848
RGBrgb(10, 8, 72)
HSLhsl(242, 80%, 16%)
HSVhsv(242, 89%, 28%)
CMYKcmyk(86.1%, 88.9%, 0%, 71.8%)
CIE-LABlab(6.38, 25.57, -38.34)
CIE-LCHlch(6.38, 46.08, 303.70°)
OKLaboklab(20.32% 0.0036 -0.1116)
OKLCHoklch(20.32% 0.112 271.9)
XYZxyz(1.3813, 0.7059, 6.1931)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0848 #464808
analogous
#082648 #0A0848 #2A0848
triadic
#0A0848 #480A08 #08480A
tetradic
#0A0848 #480826 #464808 #08482A
square
#0A0848 #480826 #464808 #08482A
split-complementary
#0A0848 #482A08 #264808
monochromatic
#04031C #04031C #0A0848 #120E7F #1914B6

Accessibility & contrast

On white

18.40
#0A0848 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A0848
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0848#FFFFFF#000000##FFFFFF
##0A08481.0018.401.1418.40
#FFFFFF18.401.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00174A
Deuteranopia (green-blind)
#001147
Tritanopia (blue-blind)
#001C28
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0a0848;
/* rgb */ color: rgb(10, 8, 72);
/* oklch */ color: oklch(20.3% 0.112 271.9);
Tailwind
colors: {
  custom: {
    50: '#57497c',
    500: '#0a0848',
    950: '#000000',
  },
}
SCSS
$custom: #0a0848;
$custom-light: #57497c;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0848",
  "rgb": {
    "r": 10,
    "g": 8,
    "b": 72
  },
  "hsl": {
    "h": 241.875,
    "s": 80,
    "l": 15.686
  },
  "oklch": {
    "l": 0.20322,
    "c": 0.11163,
    "h": 271.9
  },
  "luminance": 0.00706
}

Semantic roles & 50–950 ramp

primary
#0A0848
secondary
#838626
accent
#F631F0
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0A0848

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

Preview Lab → · Contrast checker → · Palette generator →

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