#0F142F#0F142F

#0F142F is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.4% C 0.054 H 272.8°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#0F142F
RGBrgb(15, 20, 47)
HSLhsl(231, 52%, 12%)
HSVhsv(231, 68%, 18%)
CMYKcmyk(68.1%, 57.4%, 0%, 81.6%)
CIE-LABlab(7.29, 7.70, -18.84)
CIE-LCHlch(7.29, 20.35, 292.23°)
OKLaboklab(20.35% 0.0027 -0.0538)
OKLCHoklch(20.35% 0.054 272.8)
XYZxyz(0.9601, 0.8070, 2.7940)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F142F #2F2A0F
analogous
#0F242F #0F142F #1A0F2F
triadic
#0F142F #2F0F14 #142F0F
tetradic
#0F142F #2F0F24 #2F2A0F #0F2F1A
square
#0F142F #2F0F24 #2F2A0F #0F2F1A
split-complementary
#0F142F #2F1A0F #242F0F
monochromatic
#070A17 #070A17 #0F142F #1E285D #2D3B8C

Accessibility & contrast

On white

18.08
#0F142F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F142F
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F142F#FFFFFF#000000##FFFFFF
##0F142F1.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071830
Deuteranopia (green-blind)
#04152E
Tritanopia (blue-blind)
#011A1F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0f142f;
/* rgb */ color: rgb(15, 20, 47);
/* oklch */ color: oklch(20.4% 0.054 272.8);
Tailwind
colors: {
  custom: {
    50: '#505167',
    500: '#0f142f',
    950: '#000000',
  },
}
SCSS
$custom: #0f142f;
$custom-light: #505167;
$custom-dark: #000000;
JSON
{
  "hex": "#0f142f",
  "rgb": {
    "r": 15,
    "g": 20,
    "b": 47
  },
  "hsl": {
    "h": 230.625,
    "s": 51.613,
    "l": 12.157
  },
  "oklch": {
    "l": 0.20351,
    "c": 0.0539,
    "h": 272.8
  },
  "luminance": 0.00807
}

Semantic roles & 50–950 ramp

primary
#0F142F
secondary
#696031
accent
#C54DDB
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #0F142F

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

Preview Lab → · Contrast checker → · Palette generator →

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