#0F112C#0F112C

#0F112C is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.3% C 0.054 H 277.0°. Best body text is #FFFFFF at 18.47:1 contrast (WCAG AA passes).

Color values

HEX#0F112C
RGBrgb(15, 17, 44)
HSLhsl(236, 49%, 12%)
HSVhsv(236, 66%, 17%)
CMYKcmyk(65.9%, 61.4%, 0%, 82.7%)
CIE-LABlab(6.18, 8.26, -18.37)
CIE-LCHlch(6.18, 20.14, 294.20°)
OKLaboklab(19.33% 0.0065 -0.0532)
OKLCHoklch(19.33% 0.054 277)
XYZxyz(0.8519, 0.6842, 2.4696)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F112C #2C2A0F
analogous
#0F202C #0F112C #1C0F2C
triadic
#0F112C #2C0F11 #112C0F
tetradic
#0F112C #2C0F20 #2C2A0F #0F2C1C
square
#0F112C #2C0F20 #2C2A0F #0F2C1C
split-complementary
#0F112C #2C1C0F #202C0F
monochromatic
#080917 #080917 #0F112C #1F235A #2E3487

Accessibility & contrast

On white

18.47
#0F112C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F112C
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F112C#FFFFFF#000000##FFFFFF
##0F112C1.0018.471.1418.47
#FFFFFF18.471.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05152D
Deuteranopia (green-blind)
#03132B
Tritanopia (blue-blind)
#04171C
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0f112c;
/* rgb */ color: rgb(15, 17, 44);
/* oklch */ color: oklch(19.3% 0.054 277.0);
Tailwind
colors: {
  custom: {
    50: '#504f65',
    500: '#0f112c',
    950: '#000000',
  },
}
SCSS
$custom: #0f112c;
$custom-light: #504f65;
$custom-dark: #000000;
JSON
{
  "hex": "#0f112c",
  "rgb": {
    "r": 15,
    "g": 17,
    "b": 44
  },
  "hsl": {
    "h": 235.862,
    "s": 49.153,
    "l": 11.569
  },
  "oklch": {
    "l": 0.19332,
    "c": 0.05358,
    "h": 277
  },
  "luminance": 0.00684
}

Semantic roles & 50–950 ramp

primary
#0F112C
secondary
#656231
accent
#CF4FD9
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020105
muted
#78777A

Preview Lab

Preview with #0F112C

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

Preview Lab → · Contrast checker → · Palette generator →

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