#0A0A48#0A0A48

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

Color values

HEX#0A0A48
RGBrgb(10, 10, 72)
HSLhsl(240, 76%, 16%)
HSVhsv(240, 86%, 28%)
CMYKcmyk(86.1%, 86.1%, 0%, 71.8%)
CIE-LABlab(6.77, 24.51, -37.69)
CIE-LCHlch(6.77, 44.96, 303.04°)
OKLaboklab(20.64% 0.0028 -0.1095)
OKLCHoklch(20.64% 0.11 271.5)
XYZxyz(1.4030, 0.7493, 6.2003)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0A48 #48480A
analogous
#0A2948 #0A0A48 #290A48
triadic
#0A0A48 #480A0A #0A480A
tetradic
#0A0A48 #480A29 #48480A #0A4829
square
#0A0A48 #480A29 #48480A #0A4829
split-complementary
#0A0A48 #48290A #29480A
monochromatic
#04041B #04041B #0A0A48 #11117E #1919B3

Accessibility & contrast

On white

18.26
#0A0A48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A0A48
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0A48#FFFFFF#000000##FFFFFF
##0A0A481.0018.261.1518.26
#FFFFFF18.261.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00184A
Deuteranopia (green-blind)
#001247
Tritanopia (blue-blind)
#001D29
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0a0a48;
/* rgb */ color: rgb(10, 10, 72);
/* oklch */ color: oklch(20.6% 0.110 271.5);
Tailwind
colors: {
  custom: {
    50: '#574a7c',
    500: '#0a0a48',
    950: '#000000',
  },
}
SCSS
$custom: #0a0a48;
$custom-light: #574a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0a48",
  "rgb": {
    "r": 10,
    "g": 10,
    "b": 72
  },
  "hsl": {
    "h": 240,
    "s": 75.61,
    "l": 16.078
  },
  "oklch": {
    "l": 0.20635,
    "c": 0.1095,
    "h": 271.5
  },
  "luminance": 0.00749
}

Semantic roles & 50–950 ramp

primary
#0A0A48
secondary
#858529
accent
#F236F2
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0A0A48

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

Preview Lab → · Contrast checker → · Palette generator →

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