#0F1F2E#0F1F2E

#0F1F2E is a very dark, muted cyan. Relative luminance 0.013; OKLCH L 23.3% C 0.036 H 248.1°. Best body text is #FFFFFF at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#0F1F2E
RGBrgb(15, 31, 46)
HSLhsl(209, 51%, 12%)
HSVhsv(209, 67%, 18%)
CMYKcmyk(67.4%, 32.6%, 0%, 82%)
CIE-LABlab(11.13, -1.15, -12.05)
CIE-LCHlch(11.13, 12.10, 264.57°)
OKLaboklab(23.32% -0.0135 -0.0338)
OKLCHoklch(23.32% 0.036 248.1)
XYZxyz(1.1800, 1.2787, 2.7689)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1F2E #2E1E0F
analogous
#0F2E2E #0F1F2E #0F102E
triadic
#0F1F2E #2E0F1F #1F2E0F
tetradic
#0F1F2E #2E0F2E #2E1E0F #102E0F
square
#0F1F2E #2E0F2E #2E1E0F #102E0F
split-complementary
#0F1F2E #2E0F10 #2E2E0F
monochromatic
#081017 #081017 #0F1F2E #1E3E5C #2D5D8A

Accessibility & contrast

On white

16.72
#0F1F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#0F1F2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1F2E
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1F2E#FFFFFF#000000##FFFFFF
##0F1F2E1.0016.721.2616.72
#FFFFFF16.721.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191F2F
Deuteranopia (green-blind)
#151C2E
Tritanopia (blue-blind)
#002324
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0f1f2e;
/* rgb */ color: rgb(15, 31, 46);
/* oklch */ color: oklch(23.3% 0.036 248.1);
Tailwind
colors: {
  custom: {
    50: '#505a66',
    500: '#0f1f2e',
    950: '#000000',
  },
}
SCSS
$custom: #0f1f2e;
$custom-light: #505a66;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1f2e",
  "rgb": {
    "r": 15,
    "g": 31,
    "b": 46
  },
  "hsl": {
    "h": 209.032,
    "s": 50.82,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23318,
    "c": 0.03641,
    "h": 248.1
  },
  "luminance": 0.01279
}

Semantic roles & 50–950 ramp

primary
#0F1F2E
secondary
#684C31
accent
#924DDA
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020306
muted
#78787A

Preview Lab

Preview with #0F1F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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