#0A0A2E#0A0A2E

#0A0A2E is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.4% C 0.070 H 276.3°. Best body text is #FFFFFF at 19.16:1 contrast (WCAG AA passes).

Color values

HEX#0A0A2E
RGBrgb(10, 10, 46)
HSLhsl(240, 64%, 11%)
HSVhsv(240, 78%, 18%)
CMYKcmyk(78.3%, 78.3%, 0%, 82%)
CIE-LABlab(4.33, 11.13, -22.83)
CIE-LCHlch(4.33, 25.40, 295.98°)
OKLaboklab(17.44% 0.0077 -0.0697)
OKLCHoklch(17.44% 0.07 276.3)
XYZxyz(0.7267, 0.4788, 2.6384)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0A2E #2E2E0A
analogous
#0A1C2E #0A0A2E #1C0A2E
triadic
#0A0A2E #2E0A0A #0A2E0A
tetradic
#0A0A2E #2E0A1C #2E2E0A #0A2E1C
square
#0A0A2E #2E0A1C #2E2E0A #0A2E1C
split-complementary
#0A0A2E #2E1C0A #1C2E0A
monochromatic
#050519 #050519 #0A0A2E #151560 #202093

Accessibility & contrast

On white

19.16
#0A0A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A0A2E
19.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0A2E#FFFFFF#000000##FFFFFF
##0A0A2E1.0019.161.1019.16
#FFFFFF19.161.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112F
Deuteranopia (green-blind)
#000D2D
Tritanopia (blue-blind)
#00131A
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0a0a2e;
/* rgb */ color: rgb(10, 10, 46);
/* oklch */ color: oklch(17.4% 0.070 276.3);
Tailwind
colors: {
  custom: {
    50: '#4d4b67',
    500: '#0a0a2e',
    950: '#000000',
  },
}
SCSS
$custom: #0a0a2e;
$custom-light: #4d4b67;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0a2e",
  "rgb": {
    "r": 10,
    "g": 10,
    "b": 46
  },
  "hsl": {
    "h": 240,
    "s": 64.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.1744,
    "c": 0.07009,
    "h": 276.3
  },
  "luminance": 0.00479
}

Semantic roles & 50–950 ramp

primary
#0A0A2E
secondary
#6B6B29
accent
#E741E7
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #0A0A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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