#0A0942#0A0942

#0A0942 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.7% C 0.102 H 272.6°. Best body text is #FFFFFF at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#0A0942
RGBrgb(10, 9, 66)
HSLhsl(241, 76%, 15%)
HSVhsv(241, 86%, 26%)
CMYKcmyk(84.8%, 86.4%, 0%, 74.1%)
CIE-LABlab(5.90, 22.22, -34.88)
CIE-LCHlch(5.90, 41.36, 302.50°)
OKLaboklab(19.69% 0.0047 -0.102)
OKLCHoklch(19.69% 0.102 272.6)
XYZxyz(1.2059, 0.6531, 5.2157)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0942 #414209
analogous
#092442 #0A0942 #270942
triadic
#0A0942 #420A09 #09420A
tetradic
#0A0942 #420924 #414209 #094227
square
#0A0942 #420924 #414209 #094227
split-complementary
#0A0942 #422709 #244209
monochromatic
#04041B #04041B #0A0942 #121078 #1A18AE

Accessibility & contrast

On white

18.57
#0A0942 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#0A0942 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0942
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0942#FFFFFF#000000##FFFFFF
##0A09421.0018.571.1318.57
#FFFFFF18.571.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0a0942;
/* rgb */ color: rgb(10, 9, 66);
/* oklch */ color: oklch(19.7% 0.102 272.6);
Tailwind
colors: {
  custom: {
    50: '#554977',
    500: '#0a0942',
    950: '#000000',
  },
}
SCSS
$custom: #0a0942;
$custom-light: #554977;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0942",
  "rgb": {
    "r": 10,
    "g": 9,
    "b": 66
  },
  "hsl": {
    "h": 241.053,
    "s": 76,
    "l": 14.706
  },
  "oklch": {
    "l": 0.19688,
    "c": 0.10213,
    "h": 272.6
  },
  "luminance": 0.00653
}

Semantic roles & 50–950 ramp

primary
#0A0942
secondary
#7E8027
accent
#F335EF
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0A0942

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

Preview Lab → · Contrast checker → · Palette generator →

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