#0F112F#0F112F

#0F112F is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.6% C 0.059 H 276.6°. Best body text is #FFFFFF at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#0F112F
RGBrgb(15, 17, 47)
HSLhsl(236, 52%, 12%)
HSVhsv(236, 68%, 18%)
CMYKcmyk(68.1%, 63.8%, 0%, 81.6%)
CIE-LABlab(6.39, 9.67, -20.27)
CIE-LCHlch(6.39, 22.46, 295.51°)
OKLaboklab(19.6% 0.0068 -0.0586)
OKLCHoklch(19.6% 0.059 276.6)
XYZxyz(0.9104, 0.7076, 2.7774)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F112F #2F2D0F
analogous
#0F212F #0F112F #1D0F2F
triadic
#0F112F #2F0F11 #112F0F
tetradic
#0F112F #2F0F21 #2F2D0F #0F2F1D
square
#0F112F #2F0F21 #2F2D0F #0F2F1D
split-complementary
#0F112F #2F1D0F #212F0F
monochromatic
#070817 #070817 #0F112F #1E225D #2D338C

Accessibility & contrast

On white

18.40
#0F112F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F112F
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F112F#FFFFFF#000000##FFFFFF
##0F112F1.0018.401.1418.40
#FFFFFF18.401.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031630
Deuteranopia (green-blind)
#00132E
Tritanopia (blue-blind)
#02181D
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0f112f;
/* rgb */ color: rgb(15, 17, 47);
/* oklch */ color: oklch(19.6% 0.059 276.6);
Tailwind
colors: {
  custom: {
    50: '#504f68',
    500: '#0f112f',
    950: '#000000',
  },
}
SCSS
$custom: #0f112f;
$custom-light: #504f68;
$custom-dark: #000000;
JSON
{
  "hex": "#0f112f",
  "rgb": {
    "r": 15,
    "g": 17,
    "b": 47
  },
  "hsl": {
    "h": 236.25,
    "s": 51.613,
    "l": 12.157
  },
  "oklch": {
    "l": 0.19598,
    "c": 0.05897,
    "h": 276.6
  },
  "luminance": 0.00708
}

Semantic roles & 50–950 ramp

primary
#0F112F
secondary
#696531
accent
#D24DDB
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0F112F

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

Preview Lab → · Contrast checker → · Palette generator →

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