#0F112E#0F112E

#0F112E is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.5% C 0.057 H 276.7°. Best body text is #FFFFFF at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#0F112E
RGBrgb(15, 17, 46)
HSLhsl(236, 51%, 12%)
HSVhsv(236, 67%, 18%)
CMYKcmyk(67.4%, 63%, 0%, 82%)
CIE-LABlab(6.32, 9.19, -19.64)
CIE-LCHlch(6.32, 21.68, 295.09°)
OKLaboklab(19.51% 0.0067 -0.0568)
OKLCHoklch(19.51% 0.057 276.7)
XYZxyz(0.8904, 0.6997, 2.6724)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F112E #2E2C0F
analogous
#0F212E #0F112E #1D0F2E
triadic
#0F112E #2E0F11 #112E0F
tetradic
#0F112E #2E0F21 #2E2C0F #0F2E1D
square
#0F112E #2E0F21 #2E2C0F #0F2E1D
split-complementary
#0F112E #2E1D0F #212E0F
monochromatic
#080917 #080917 #0F112E #1E225C #2D338A

Accessibility & contrast

On white

18.42
#0F112E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#0F112E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F112E
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F112E#FFFFFF#000000##FFFFFF
##0F112E1.0018.421.1418.42
#FFFFFF18.421.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03152F
Deuteranopia (green-blind)
#01132D
Tritanopia (blue-blind)
#02181D
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0f112e;
/* rgb */ color: rgb(15, 17, 46);
/* oklch */ color: oklch(19.5% 0.057 276.7);
Tailwind
colors: {
  custom: {
    50: '#504f67',
    500: '#0f112e',
    950: '#000000',
  },
}
SCSS
$custom: #0f112e;
$custom-light: #504f67;
$custom-dark: #000000;
JSON
{
  "hex": "#0f112e",
  "rgb": {
    "r": 15,
    "g": 17,
    "b": 46
  },
  "hsl": {
    "h": 236.129,
    "s": 50.82,
    "l": 11.961
  },
  "oklch": {
    "l": 0.19508,
    "c": 0.05719,
    "h": 276.7
  },
  "luminance": 0.007
}

Semantic roles & 50–950 ramp

primary
#0F112E
secondary
#686431
accent
#D14DDA
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0F112E

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

Preview Lab → · Contrast checker → · Palette generator →

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