#0A0A2F#0A0A2F

#0A0A2F is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.6% C 0.072 H 276.1°. Best body text is #FFFFFF at 19.14:1 contrast (WCAG AA passes).

Color values

HEX#0A0A2F
RGBrgb(10, 10, 47)
HSLhsl(240, 65%, 11%)
HSVhsv(240, 79%, 18%)
CMYKcmyk(78.7%, 78.7%, 0%, 81.6%)
CIE-LABlab(4.40, 11.63, -23.46)
CIE-LCHlch(4.40, 26.19, 296.36°)
OKLaboklab(17.55% 0.0076 -0.0713)
OKLCHoklch(17.55% 0.072 276.1)
XYZxyz(0.7466, 0.4868, 2.7434)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0A2F #2F2F0A
analogous
#0A1C2F #0A0A2F #1C0A2F
triadic
#0A0A2F #2F0A0A #0A2F0A
tetradic
#0A0A2F #2F0A1C #2F2F0A #0A2F1C
square
#0A0A2F #2F0A1C #2F2F0A #0A2F1C
split-complementary
#0A0A2F #2F1C0A #1C2F0A
monochromatic
#050519 #050519 #0A0A2F #151561 #1F1F94

Accessibility & contrast

On white

19.14
#0A0A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A0A2F
19.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0A2F#FFFFFF#000000##FFFFFF
##0A0A2F1.0019.141.1019.14
#FFFFFF19.141.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001130
Deuteranopia (green-blind)
#000E2E
Tritanopia (blue-blind)
#00141B
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0a0a2f;
/* rgb */ color: rgb(10, 10, 47);
/* oklch */ color: oklch(17.6% 0.072 276.1);
Tailwind
colors: {
  custom: {
    50: '#4d4b68',
    500: '#0a0a2f',
    950: '#000000',
  },
}
SCSS
$custom: #0a0a2f;
$custom-light: #4d4b68;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0a2f",
  "rgb": {
    "r": 10,
    "g": 10,
    "b": 47
  },
  "hsl": {
    "h": 240,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.17552,
    "c": 0.07174,
    "h": 276.1
  },
  "luminance": 0.00487
}

Semantic roles & 50–950 ramp

primary
#0A0A2F
secondary
#6C6C29
accent
#E840E8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0A0A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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