#0A0A42#0A0A42

#0A0A42 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.9% C 0.101 H 272.4°. Best body text is #FFFFFF at 18.50:1 contrast (WCAG AA passes).

Color values

HEX#0A0A42
RGBrgb(10, 10, 66)
HSLhsl(240, 74%, 15%)
HSVhsv(240, 85%, 26%)
CMYKcmyk(84.8%, 84.8%, 0%, 74.1%)
CIE-LABlab(6.10, 21.73, -34.56)
CIE-LCHlch(6.10, 40.82, 302.16°)
OKLaboklab(19.86% 0.0042 -0.1009)
OKLCHoklch(19.86% 0.101 272.4)
XYZxyz(1.2168, 0.6748, 5.2193)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0A42 #42420A
analogous
#0A2642 #0A0A42 #260A42
triadic
#0A0A42 #420A0A #0A420A
tetradic
#0A0A42 #420A26 #42420A #0A4226
square
#0A0A42 #420A26 #42420A #0A4226
split-complementary
#0A0A42 #42260A #26420A
monochromatic
#04041B #04041B #0A0A42 #121277 #1A1AAC

Accessibility & contrast

On white

18.50
#0A0A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A0A42
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0A42#FFFFFF#000000##FFFFFF
##0A0A421.0018.501.1418.50
#FFFFFF18.501.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001644
Deuteranopia (green-blind)
#001141
Tritanopia (blue-blind)
#001A25
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0a0a42;
/* rgb */ color: rgb(10, 10, 66);
/* oklch */ color: oklch(19.9% 0.101 272.4);
Tailwind
colors: {
  custom: {
    50: '#544a77',
    500: '#0a0a42',
    950: '#000000',
  },
}
SCSS
$custom: #0a0a42;
$custom-light: #544a77;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0a42",
  "rgb": {
    "r": 10,
    "g": 10,
    "b": 66
  },
  "hsl": {
    "h": 240,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.19856,
    "c": 0.10098,
    "h": 272.4
  },
  "luminance": 0.00675
}

Semantic roles & 50–950 ramp

primary
#0A0A42
secondary
#7F7F29
accent
#F037F0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0A0A42

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

Preview Lab → · Contrast checker → · Palette generator →

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