#0F1F2D#0F1F2D

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

Color values

HEX#0F1F2D
RGBrgb(15, 31, 45)
HSLhsl(208, 50%, 12%)
HSVhsv(208, 67%, 18%)
CMYKcmyk(66.7%, 31.1%, 0%, 82.4%)
CIE-LABlab(11.07, -1.55, -11.40)
CIE-LCHlch(11.07, 11.51, 262.27°)
OKLaboklab(23.26% -0.014 -0.0319)
OKLCHoklch(23.26% 0.035 246.4)
XYZxyz(1.1605, 1.2709, 2.6663)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1F2D #2D1D0F
analogous
#0F2D2C #0F1F2D #0F102D
triadic
#0F1F2D #2D0F1F #1F2D0F
tetradic
#0F1F2D #2C0F2D #2D1D0F #102D0F
square
#0F1F2D #2C0F2D #2D1D0F #102D0F
split-complementary
#0F1F2D #2D0F10 #2D2C0F
monochromatic
#081017 #081017 #0F1F2D #1E3F5B #2E5E89

Accessibility & contrast

On white

16.74
#0F1F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#0F1F2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1F2D
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1F2D#FFFFFF#000000##FFFFFF
##0F1F2D1.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191F2E
Deuteranopia (green-blind)
#151C2D
Tritanopia (blue-blind)
#012224
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0f1f2d;
/* rgb */ color: rgb(15, 31, 45);
/* oklch */ color: oklch(23.3% 0.035 246.4);
Tailwind
colors: {
  custom: {
    50: '#505a66',
    500: '#0f1f2d',
    950: '#000000',
  },
}
SCSS
$custom: #0f1f2d;
$custom-light: #505a66;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1f2d",
  "rgb": {
    "r": 15,
    "g": 31,
    "b": 45
  },
  "hsl": {
    "h": 208,
    "s": 50,
    "l": 11.765
  },
  "oklch": {
    "l": 0.23257,
    "c": 0.03487,
    "h": 246.4
  },
  "luminance": 0.01271
}

Semantic roles & 50–950 ramp

primary
#0F1F2D
secondary
#664A31
accent
#8F4EDA
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020305
muted
#78787A

Preview Lab

Preview with #0F1F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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