#0F112B#0F112B

#0F112B is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.2% C 0.052 H 277.1°. Best body text is #FFFFFF at 18.50:1 contrast (WCAG AA passes).

Color values

HEX#0F112B
RGBrgb(15, 17, 43)
HSLhsl(236, 48%, 11%)
HSVhsv(236, 65%, 17%)
CMYKcmyk(65.1%, 60.5%, 0%, 83.1%)
CIE-LABlab(6.11, 7.79, -17.73)
CIE-LCHlch(6.11, 19.36, 293.71°)
OKLaboklab(19.25% 0.0064 -0.0514)
OKLCHoklch(19.25% 0.052 277.1)
XYZxyz(0.8334, 0.6768, 2.3718)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F112B #2B290F
analogous
#0F1F2B #0F112B #1B0F2B
triadic
#0F112B #2B0F11 #112B0F
tetradic
#0F112B #2B0F1F #2B290F #0F2B1B
square
#0F112B #2B0F1F #2B290F #0F2B1B
split-complementary
#0F112B #2B1B0F #1F2B0F
monochromatic
#080917 #080917 #0F112B #1F2358 #2F3586

Accessibility & contrast

On white

18.50
#0F112B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F112B
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F112B#FFFFFF#000000##FFFFFF
##0F112B1.0018.501.1418.50
#FFFFFF18.501.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06152C
Deuteranopia (green-blind)
#04122A
Tritanopia (blue-blind)
#04171B
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0f112b;
/* rgb */ color: rgb(15, 17, 43);
/* oklch */ color: oklch(19.2% 0.052 277.1);
Tailwind
colors: {
  custom: {
    50: '#4f4f64',
    500: '#0f112b',
    950: '#000000',
  },
}
SCSS
$custom: #0f112b;
$custom-light: #4f4f64;
$custom-dark: #000000;
JSON
{
  "hex": "#0f112b",
  "rgb": {
    "r": 15,
    "g": 17,
    "b": 43
  },
  "hsl": {
    "h": 235.714,
    "s": 48.276,
    "l": 11.373
  },
  "oklch": {
    "l": 0.19246,
    "c": 0.05176,
    "h": 277.1
  },
  "luminance": 0.00677
}

Semantic roles & 50–950 ramp

primary
#0F112B
secondary
#646132
accent
#CE50D8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020105
muted
#78777A

Preview Lab

Preview with #0F112B

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

Preview Lab → · Contrast checker → · Palette generator →

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