#0A0D2F#0A0D2F

#0A0D2F is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.2% C 0.067 H 273.8°. Best body text is #FFFFFF at 18.89:1 contrast (WCAG AA passes).

Color values

HEX#0A0D2F
RGBrgb(10, 13, 47)
HSLhsl(235, 65%, 11%)
HSVhsv(235, 79%, 18%)
CMYKcmyk(78.7%, 72.3%, 0%, 81.6%)
CIE-LABlab(5.04, 10.33, -22.45)
CIE-LCHlch(5.04, 24.71, 294.71°)
OKLaboklab(18.22% 0.0045 -0.067)
OKLCHoklch(18.22% 0.067 273.8)
XYZxyz(0.7820, 0.5575, 2.7552)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0D2F #2F2C0A
analogous
#0A1F2F #0A0D2F #190A2F
triadic
#0A0D2F #2F0A0D #0D2F0A
tetradic
#0A0D2F #2F0A1F #2F2C0A #0A2F19
square
#0A0D2F #2F0A1F #2F2C0A #0A2F19
split-complementary
#0A0D2F #2F190A #1F2F0A
monochromatic
#050719 #050719 #0A0D2F #151B61 #1F2994

Accessibility & contrast

On white

18.89
#0A0D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#0A0D2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0D2F
18.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0D2F#FFFFFF#000000##FFFFFF
##0A0D2F1.0018.891.1118.89
#FFFFFF18.891.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001330
Deuteranopia (green-blind)
#000F2E
Tritanopia (blue-blind)
#00151C
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0a0d2f;
/* rgb */ color: rgb(10, 13, 47);
/* oklch */ color: oklch(18.2% 0.067 273.8);
Tailwind
colors: {
  custom: {
    50: '#4d4c68',
    500: '#0a0d2f',
    950: '#000000',
  },
}
SCSS
$custom: #0a0d2f;
$custom-light: #4d4c68;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0d2f",
  "rgb": {
    "r": 10,
    "g": 13,
    "b": 47
  },
  "hsl": {
    "h": 235.135,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.1822,
    "c": 0.06711,
    "h": 273.8
  },
  "luminance": 0.00558
}

Semantic roles & 50–950 ramp

primary
#0A0D2F
secondary
#6C6729
accent
#DA40E8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0A0D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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