#0A0940#0A0940

#0A0940 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.4% C 0.099 H 273.0°. Best body text is #FFFFFF at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#0A0940
RGBrgb(10, 9, 64)
HSLhsl(241, 75%, 14%)
HSVhsv(241, 86%, 25%)
CMYKcmyk(84.4%, 85.9%, 0%, 74.9%)
CIE-LABlab(5.69, 21.23, -33.79)
CIE-LCHlch(5.69, 39.91, 302.13°)
OKLaboklab(19.43% 0.0052 -0.0991)
OKLCHoklch(19.43% 0.099 273)
XYZxyz(1.1480, 0.6300, 4.9106)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0940 #3F4009
analogous
#092440 #0A0940 #260940
triadic
#0A0940 #400A09 #09400A
tetradic
#0A0940 #400924 #3F4009 #094026
square
#0A0940 #400924 #3F4009 #094026
split-complementary
#0A0940 #402609 #244009
monochromatic
#04041B #04041B #0A0940 #121176 #1B18AB

Accessibility & contrast

On white

18.65
#0A0940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A0940
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0940#FFFFFF#000000##FFFFFF
##0A09401.0018.651.1318.65
#FFFFFF18.651.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001542
Deuteranopia (green-blind)
#00103F
Tritanopia (blue-blind)
#001924
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0a0940;
/* rgb */ color: rgb(10, 9, 64);
/* oklch */ color: oklch(19.4% 0.099 273.0);
Tailwind
colors: {
  custom: {
    50: '#544a75',
    500: '#0a0940',
    950: '#000000',
  },
}
SCSS
$custom: #0a0940;
$custom-light: #544a75;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0940",
  "rgb": {
    "r": 10,
    "g": 9,
    "b": 64
  },
  "hsl": {
    "h": 241.091,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.19429,
    "c": 0.09925,
    "h": 273
  },
  "luminance": 0.0063
}

Semantic roles & 50–950 ramp

primary
#0A0940
secondary
#7C7E27
accent
#F236EF
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0A0940

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

Preview Lab → · Contrast checker → · Palette generator →

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