#0F192A#0F192A

#0F192A is a very dark, muted blue. Relative luminance 0.010; OKLCH L 21.3% C 0.037 H 260.6°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#0F192A
RGBrgb(15, 25, 42)
HSLhsl(218, 47%, 11%)
HSVhsv(218, 64%, 16%)
CMYKcmyk(64.3%, 40.5%, 0%, 83.5%)
CIE-LABlab(8.69, 1.76, -12.93)
CIE-LCHlch(8.69, 13.04, 277.76°)
OKLaboklab(21.33% -0.006 -0.0364)
OKLCHoklch(21.33% 0.037 260.6)
XYZxyz(0.9624, 0.9639, 2.3254)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F192A #2A200F
analogous
#0F262A #0F192A #120F2A
triadic
#0F192A #2A0F19 #192A0F
tetradic
#0F192A #2A0F26 #2A200F #0F2A12
square
#0F192A #2A0F26 #2A200F #0F2A12
split-complementary
#0F192A #2A120F #262A0F
monochromatic
#080D17 #080D17 #0F192A #1F3457 #2F4F84

Accessibility & contrast

On white

17.61
#0F192A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#0F192A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F192A
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F192A#FFFFFF#000000##FFFFFF
##0F192A1.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121A2B
Deuteranopia (green-blind)
#0F182A
Tritanopia (blue-blind)
#041D1F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0f192a;
/* rgb */ color: rgb(15, 25, 42);
/* oklch */ color: oklch(21.3% 0.037 260.6);
Tailwind
colors: {
  custom: {
    50: '#4f5563',
    500: '#0f192a',
    950: '#000000',
  },
}
SCSS
$custom: #0f192a;
$custom-light: #4f5563;
$custom-dark: #000000;
JSON
{
  "hex": "#0f192a",
  "rgb": {
    "r": 15,
    "g": 25,
    "b": 42
  },
  "hsl": {
    "h": 217.778,
    "s": 47.368,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21331,
    "c": 0.03688,
    "h": 260.6
  },
  "luminance": 0.00964
}

Semantic roles & 50–950 ramp

primary
#0F192A
secondary
#635132
accent
#A551D7
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#020305
muted
#787879

Preview Lab

Preview with #0F192A

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

Preview Lab → · Contrast checker → · Palette generator →

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