#0F112D#0F112D

#0F112D is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.4% C 0.055 H 276.9°. Best body text is #FFFFFF at 18.45:1 contrast (WCAG AA passes).

Color values

HEX#0F112D
RGBrgb(15, 17, 45)
HSLhsl(236, 50%, 12%)
HSVhsv(236, 67%, 18%)
CMYKcmyk(66.7%, 62.2%, 0%, 82.4%)
CIE-LABlab(6.25, 8.73, -19.01)
CIE-LCHlch(6.25, 20.91, 294.66°)
OKLaboklab(19.42% 0.0066 -0.055)
OKLCHoklch(19.42% 0.055 276.9)
XYZxyz(0.8710, 0.6919, 2.5698)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F112D #2D2B0F
analogous
#0F202D #0F112D #1C0F2D
triadic
#0F112D #2D0F11 #112D0F
tetradic
#0F112D #2D0F20 #2D2B0F #0F2D1C
square
#0F112D #2D0F20 #2D2B0F #0F2D1C
split-complementary
#0F112D #2D1C0F #202D0F
monochromatic
#080917 #080917 #0F112D #1E225B #2E3489

Accessibility & contrast

On white

18.45
#0F112D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F112D
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F112D#FFFFFF#000000##FFFFFF
##0F112D1.0018.451.1418.45
#FFFFFF18.451.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04152E
Deuteranopia (green-blind)
#02132C
Tritanopia (blue-blind)
#03171C
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0f112d;
/* rgb */ color: rgb(15, 17, 45);
/* oklch */ color: oklch(19.4% 0.055 276.9);
Tailwind
colors: {
  custom: {
    50: '#504f66',
    500: '#0f112d',
    950: '#000000',
  },
}
SCSS
$custom: #0f112d;
$custom-light: #504f66;
$custom-dark: #000000;
JSON
{
  "hex": "#0f112d",
  "rgb": {
    "r": 15,
    "g": 17,
    "b": 45
  },
  "hsl": {
    "h": 236,
    "s": 50,
    "l": 11.765
  },
  "oklch": {
    "l": 0.19419,
    "c": 0.0554,
    "h": 276.9
  },
  "luminance": 0.00692
}

Semantic roles & 50–950 ramp

primary
#0F112D
secondary
#666331
accent
#D04EDA
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0F112D

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

Preview Lab → · Contrast checker → · Palette generator →

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