#0F142A#0F142A

#0F142A is a very dark, muted blue. Relative luminance 0.008; OKLCH L 19.9% C 0.045 H 272.1°. Best body text is #FFFFFF at 18.20:1 contrast (WCAG AA passes).

Color values

HEX#0F142A
RGBrgb(15, 20, 42)
HSLhsl(229, 47%, 11%)
HSVhsv(229, 64%, 16%)
CMYKcmyk(64.3%, 52.4%, 0%, 83.5%)
CIE-LABlab(6.95, 5.48, -15.67)
CIE-LCHlch(6.95, 16.60, 289.28°)
OKLaboklab(19.95% 0.0017 -0.0447)
OKLCHoklch(19.95% 0.045 272.1)
XYZxyz(0.8649, 0.7690, 2.2929)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F142A #2A250F
analogous
#0F212A #0F142A #170F2A
triadic
#0F142A #2A0F14 #142A0F
tetradic
#0F142A #2A0F21 #2A250F #0F2A17
square
#0F142A #2A0F21 #2A250F #0F2A17
split-complementary
#0F142A #2A170F #212A0F
monochromatic
#080B17 #080B17 #0F142A #1F2957 #2F3F84

Accessibility & contrast

On white

18.20
#0F142A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#0F142A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F142A
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F142A#FFFFFF#000000##FFFFFF
##0F142A1.0018.201.1518.20
#FFFFFF18.201.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B172B
Deuteranopia (green-blind)
#08142A
Tritanopia (blue-blind)
#04191C
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0f142a;
/* rgb */ color: rgb(15, 20, 42);
/* oklch */ color: oklch(19.9% 0.045 272.1);
Tailwind
colors: {
  custom: {
    50: '#4f5163',
    500: '#0f142a',
    950: '#000000',
  },
}
SCSS
$custom: #0f142a;
$custom-light: #4f5163;
$custom-dark: #000000;
JSON
{
  "hex": "#0f142a",
  "rgb": {
    "r": 15,
    "g": 20,
    "b": 42
  },
  "hsl": {
    "h": 228.889,
    "s": 47.368,
    "l": 11.176
  },
  "oklch": {
    "l": 0.19947,
    "c": 0.04471,
    "h": 272.1
  },
  "luminance": 0.00769
}

Semantic roles & 50–950 ramp

primary
#0F142A
secondary
#635A32
accent
#BE51D7
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#020205
muted
#787879

Preview Lab

Preview with #0F142A

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

Preview Lab → · Contrast checker → · Palette generator →

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