#0F0A2E#0F0A2E

#0F0A2E is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.9% C 0.069 H 283.3°. Best body text is #FFFFFF at 19.04:1 contrast (WCAG AA passes).

Color values

HEX#0F0A2E
RGBrgb(15, 10, 46)
HSLhsl(248, 64%, 11%)
HSVhsv(248, 78%, 18%)
CMYKcmyk(67.4%, 78.3%, 0%, 82%)
CIE-LABlab(4.66, 12.63, -22.28)
CIE-LCHlch(4.66, 25.61, 299.54°)
OKLaboklab(17.92% 0.0158 -0.0671)
OKLCHoklch(17.92% 0.069 283.3)
XYZxyz(0.7985, 0.5158, 2.6417)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0A2E #292E0A
analogous
#0A172E #0F0A2E #210A2E
triadic
#0F0A2E #2E0F0A #0A2E0F
tetradic
#0F0A2E #2E0A17 #292E0A #0A2E21
square
#0F0A2E #2E0A17 #292E0A #0A2E21
split-complementary
#0F0A2E #2E210A #172E0A
monochromatic
#080519 #080519 #0F0A2E #1F1560 #302093

Accessibility & contrast

On white

19.04
#0F0A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0A2E
19.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0A2E#FFFFFF#000000##FFFFFF
##0F0A2E1.0019.041.1019.04
#FFFFFF19.041.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112F
Deuteranopia (green-blind)
#000F2D
Tritanopia (blue-blind)
#03131A
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0f0a2e;
/* rgb */ color: rgb(15, 10, 46);
/* oklch */ color: oklch(17.9% 0.069 283.3);
Tailwind
colors: {
  custom: {
    50: '#504b67',
    500: '#0f0a2e',
    950: '#000000',
  },
}
SCSS
$custom: #0f0a2e;
$custom-light: #504b67;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0a2e",
  "rgb": {
    "r": 15,
    "g": 10,
    "b": 46
  },
  "hsl": {
    "h": 248.333,
    "s": 64.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.17923,
    "c": 0.0689,
    "h": 283.3
  },
  "luminance": 0.00516
}

Semantic roles & 50–950 ramp

primary
#0F0A2E
secondary
#626B29
accent
#E741D0
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0F0A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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