#0A0336#0A0336

#0A0336 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.9% C 0.093 H 277.6°. Best body text is #FFFFFF at 19.46:1 contrast (WCAG AA passes).

Color values

HEX#0A0336
RGBrgb(10, 3, 54)
HSLhsl(248, 89%, 11%)
HSVhsv(248, 94%, 21%)
CMYKcmyk(81.5%, 94.4%, 0%, 78.8%)
CIE-LABlab(3.58, 18.32, -29.97)
CIE-LCHlch(3.58, 35.13, 301.43°)
OKLaboklab(16.89% 0.0123 -0.0927)
OKLCHoklch(16.89% 0.094 277.6)
XYZxyz(0.8234, 0.3959, 3.5223)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0336 #2F3603
analogous
#031536 #0A0336 #230336
triadic
#0A0336 #360A03 #03360A
tetradic
#0A0336 #360315 #2F3603 #033623
square
#0A0336 #360315 #2F3603 #033623
split-complementary
#0A0336 #362303 #153603
monochromatic
#05021D #05021D #0A0336 #150670 #1F09AA

Accessibility & contrast

On white

19.46
#0A0336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#0A0336 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0336
19.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0336#FFFFFF#000000##FFFFFF
##0A03361.0019.461.0819.46
#FFFFFF19.461.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F37
Deuteranopia (green-blind)
#000B35
Tritanopia (blue-blind)
#00121C
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #0a0336;
/* rgb */ color: rgb(10, 3, 54);
/* oklch */ color: oklch(16.9% 0.093 277.6);
Tailwind
colors: {
  custom: {
    50: '#4f476e',
    500: '#0a0336',
    950: '#000000',
  },
}
SCSS
$custom: #0a0336;
$custom-light: #4f476e;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0336",
  "rgb": {
    "r": 10,
    "g": 3,
    "b": 54
  },
  "hsl": {
    "h": 248.235,
    "s": 89.474,
    "l": 11.176
  },
  "oklch": {
    "l": 0.16891,
    "c": 0.0935,
    "h": 277.6
  },
  "luminance": 0.00396
}

Semantic roles & 50–950 ramp

primary
#0A0336
secondary
#6C791C
accent
#FF29E2
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020007
muted
#78777A

Preview Lab

Preview with #0A0336

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

Preview Lab → · Contrast checker → · Palette generator →

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