#0F142D#0F142D

#0F142D is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.2% C 0.050 H 272.6°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#0F142D
RGBrgb(15, 20, 45)
HSLhsl(230, 50%, 12%)
HSVhsv(230, 67%, 18%)
CMYKcmyk(66.7%, 55.6%, 0%, 82.4%)
CIE-LABlab(7.15, 6.81, -17.58)
CIE-LCHlch(7.15, 18.85, 291.17°)
OKLaboklab(20.19% 0.0023 -0.0502)
OKLCHoklch(20.19% 0.05 272.6)
XYZxyz(0.9207, 0.7913, 2.5863)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F142D #2D280F
analogous
#0F232D #0F142D #190F2D
triadic
#0F142D #2D0F14 #142D0F
tetradic
#0F142D #2D0F23 #2D280F #0F2D19
square
#0F142D #2D0F23 #2D280F #0F2D19
split-complementary
#0F142D #2D190F #232D0F
monochromatic
#080A17 #080A17 #0F142D #1E285B #2E3D89

Accessibility & contrast

On white

18.13
#0F142D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0F142D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F142D
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F142D#FFFFFF#000000##FFFFFF
##0F142D1.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09172E
Deuteranopia (green-blind)
#06152C
Tritanopia (blue-blind)
#03191E
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0f142d;
/* rgb */ color: rgb(15, 20, 45);
/* oklch */ color: oklch(20.2% 0.050 272.6);
Tailwind
colors: {
  custom: {
    50: '#505166',
    500: '#0f142d',
    950: '#000000',
  },
}
SCSS
$custom: #0f142d;
$custom-light: #505166;
$custom-dark: #000000;
JSON
{
  "hex": "#0f142d",
  "rgb": {
    "r": 15,
    "g": 20,
    "b": 45
  },
  "hsl": {
    "h": 230,
    "s": 50,
    "l": 11.765
  },
  "oklch": {
    "l": 0.20186,
    "c": 0.05025,
    "h": 272.6
  },
  "luminance": 0.00791
}

Semantic roles & 50–950 ramp

primary
#0F142D
secondary
#665E31
accent
#C24EDA
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #0F142D

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

Preview Lab → · Contrast checker → · Palette generator →

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