#0A0F2E#0A0F2E

#0A0F2E is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.6% C 0.062 H 272.0°. Best body text is #FFFFFF at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#0A0F2E
RGBrgb(10, 15, 46)
HSLhsl(232, 64%, 11%)
HSVhsv(232, 78%, 18%)
CMYKcmyk(78.3%, 67.4%, 0%, 82%)
CIE-LABlab(5.45, 8.83, -21.04)
CIE-LCHlch(5.45, 22.82, 292.76°)
OKLaboklab(18.6% 0.0022 -0.0621)
OKLCHoklch(18.6% 0.062 272)
XYZxyz(0.7890, 0.6034, 2.6591)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0F2E #2E290A
analogous
#0A212E #0A0F2E #170A2E
triadic
#0A0F2E #2E0A0F #0F2E0A
tetradic
#0A0F2E #2E0A21 #2E290A #0A2E17
square
#0A0F2E #2E0A21 #2E290A #0A2E17
split-complementary
#0A0F2E #2E170A #212E0A
monochromatic
#050819 #050819 #0A0F2E #151F60 #203093

Accessibility & contrast

On white

18.74
#0A0F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#0A0F2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0F2E
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0F2E#FFFFFF#000000##FFFFFF
##0A0F2E1.0018.741.1218.74
#FFFFFF18.741.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00142F
Deuteranopia (green-blind)
#00102D
Tritanopia (blue-blind)
#00161C
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0a0f2e;
/* rgb */ color: rgb(10, 15, 46);
/* oklch */ color: oklch(18.6% 0.062 272.0);
Tailwind
colors: {
  custom: {
    50: '#4d4d67',
    500: '#0a0f2e',
    950: '#000000',
  },
}
SCSS
$custom: #0a0f2e;
$custom-light: #4d4d67;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0f2e",
  "rgb": {
    "r": 10,
    "g": 15,
    "b": 46
  },
  "hsl": {
    "h": 231.667,
    "s": 64.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.18599,
    "c": 0.06216,
    "h": 272
  },
  "luminance": 0.00603
}

Semantic roles & 50–950 ramp

primary
#0A0F2E
secondary
#6B6229
accent
#D041E7
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #0A0F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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