#0F142E#0F142E

#0F142E is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.3% C 0.052 H 272.7°. Best body text is #FFFFFF at 18.11:1 contrast (WCAG AA passes).

Color values

HEX#0F142E
RGBrgb(15, 20, 46)
HSLhsl(230, 51%, 12%)
HSVhsv(230, 67%, 18%)
CMYKcmyk(67.4%, 56.5%, 0%, 82%)
CIE-LABlab(7.22, 7.25, -18.21)
CIE-LCHlch(7.22, 19.60, 291.71°)
OKLaboklab(20.27% 0.0025 -0.052)
OKLCHoklch(20.27% 0.052 272.7)
XYZxyz(0.9401, 0.7991, 2.6889)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F142E #2E290F
analogous
#0F242E #0F142E #1A0F2E
triadic
#0F142E #2E0F14 #142E0F
tetradic
#0F142E #2E0F24 #2E290F #0F2E1A
square
#0F142E #2E0F24 #2E290F #0F2E1A
split-complementary
#0F142E #2E1A0F #242E0F
monochromatic
#080A17 #080A17 #0F142E #1E285C #2D3C8A

Accessibility & contrast

On white

18.11
#0F142E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F142E
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F142E#FFFFFF#000000##FFFFFF
##0F142E1.0018.111.1618.11
#FFFFFF18.111.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08172F
Deuteranopia (green-blind)
#05152D
Tritanopia (blue-blind)
#021A1E
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0f142e;
/* rgb */ color: rgb(15, 20, 46);
/* oklch */ color: oklch(20.3% 0.052 272.7);
Tailwind
colors: {
  custom: {
    50: '#505167',
    500: '#0f142e',
    950: '#000000',
  },
}
SCSS
$custom: #0f142e;
$custom-light: #505167;
$custom-dark: #000000;
JSON
{
  "hex": "#0f142e",
  "rgb": {
    "r": 15,
    "g": 20,
    "b": 46
  },
  "hsl": {
    "h": 230.323,
    "s": 50.82,
    "l": 11.961
  },
  "oklch": {
    "l": 0.20268,
    "c": 0.05208,
    "h": 272.7
  },
  "luminance": 0.00799
}

Semantic roles & 50–950 ramp

primary
#0F142E
secondary
#685F31
accent
#C44DDA
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #0F142E

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

Preview Lab → · Contrast checker → · Palette generator →

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