#0A0440#0A0440

#0A0440 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.5% C 0.106 H 274.3°. Best body text is #FFFFFF at 19.01:1 contrast (WCAG AA passes).

Color values

HEX#0A0440
RGBrgb(10, 4, 64)
HSLhsl(246, 88%, 13%)
HSVhsv(246, 94%, 25%)
CMYKcmyk(84.4%, 93.8%, 0%, 74.9%)
CIE-LABlab(4.71, 23.62, -35.40)
CIE-LCHlch(4.71, 42.55, 303.71°)
OKLaboklab(18.52% 0.0079 -0.1053)
OKLCHoklch(18.52% 0.106 274.3)
XYZxyz(1.0937, 0.5214, 4.8925)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0440 #3A4004
analogous
#041C40 #0A0440 #280440
triadic
#0A0440 #400A04 #04400A
tetradic
#0A0440 #40041C #3A4004 #044028
square
#0A0440 #40041C #3A4004 #044028
split-complementary
#0A0440 #402804 #1C4004
monochromatic
#05021D #05021D #0A0440 #13087A #1C0BB3

Accessibility & contrast

On white

19.01
#0A0440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#0A0440 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0440
19.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0440#FFFFFF#000000##FFFFFF
##0A04401.0019.011.1019.01
#FFFFFF19.011.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001342
Deuteranopia (green-blind)
#000D3F
Tritanopia (blue-blind)
#001723
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0a0440;
/* rgb */ color: rgb(10, 4, 64);
/* oklch */ color: oklch(18.5% 0.106 274.3);
Tailwind
colors: {
  custom: {
    50: '#544776',
    500: '#0a0440',
    950: '#000000',
  },
}
SCSS
$custom: #0a0440;
$custom-light: #544776;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0440",
  "rgb": {
    "r": 10,
    "g": 4,
    "b": 64
  },
  "hsl": {
    "h": 246,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.18518,
    "c": 0.10558,
    "h": 274.3
  },
  "luminance": 0.00522
}

Semantic roles & 50–950 ramp

primary
#0A0440
secondary
#77811F
accent
#FE29E9
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #0A0440

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

Preview Lab → · Contrast checker → · Palette generator →

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