#0F142B#0F142B

#0F142B is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.0% C 0.047 H 272.3°. Best body text is #FFFFFF at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#0F142B
RGBrgb(15, 20, 43)
HSLhsl(229, 48%, 11%)
HSVhsv(229, 65%, 17%)
CMYKcmyk(65.1%, 53.5%, 0%, 83.1%)
CIE-LABlab(7.01, 5.93, -16.31)
CIE-LCHlch(7.01, 17.35, 289.97°)
OKLaboklab(20.03% 0.0019 -0.0465)
OKLCHoklch(20.03% 0.047 272.3)
XYZxyz(0.8831, 0.7762, 2.3883)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F142B #2B260F
analogous
#0F222B #0F142B #180F2B
triadic
#0F142B #2B0F14 #142B0F
tetradic
#0F142B #2B0F22 #2B260F #0F2B18
square
#0F142B #2B0F22 #2B260F #0F2B18
split-complementary
#0F142B #2B180F #222B0F
monochromatic
#080B17 #080B17 #0F142B #1F2958 #2F3E86

Accessibility & contrast

On white

18.18
#0F142B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F142B
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F142B#FFFFFF#000000##FFFFFF
##0F142B1.0018.181.1618.18
#FFFFFF18.181.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A172C
Deuteranopia (green-blind)
#07142A
Tritanopia (blue-blind)
#04191D
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0f142b;
/* rgb */ color: rgb(15, 20, 43);
/* oklch */ color: oklch(20.0% 0.047 272.3);
Tailwind
colors: {
  custom: {
    50: '#505164',
    500: '#0f142b',
    950: '#000000',
  },
}
SCSS
$custom: #0f142b;
$custom-light: #505164;
$custom-dark: #000000;
JSON
{
  "hex": "#0f142b",
  "rgb": {
    "r": 15,
    "g": 20,
    "b": 43
  },
  "hsl": {
    "h": 229.286,
    "s": 48.276,
    "l": 11.373
  },
  "oklch": {
    "l": 0.20025,
    "c": 0.04657,
    "h": 272.3
  },
  "luminance": 0.00776
}

Semantic roles & 50–950 ramp

primary
#0F142B
secondary
#645B32
accent
#C050D8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020205
muted
#78787A

Preview Lab

Preview with #0F142B

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

Preview Lab → · Contrast checker → · Palette generator →

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