#0F1D2E#0F1D2E

#0F1D2E is a very dark, muted cyan. Relative luminance 0.012; OKLCH L 22.7% C 0.039 H 254.1°. Best body text is #FFFFFF at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#0F1D2E
RGBrgb(15, 29, 46)
HSLhsl(213, 51%, 12%)
HSVhsv(213, 67%, 18%)
CMYKcmyk(67.4%, 37%, 0%, 82%)
CIE-LABlab(10.39, 0.34, -13.19)
CIE-LCHlch(10.39, 13.20, 271.48°)
OKLaboklab(22.74% -0.0106 -0.0371)
OKLCHoklch(22.74% 0.039 254.1)
XYZxyz(1.1293, 1.1775, 2.7520)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1D2E #2E200F
analogous
#0F2D2E #0F1D2E #110F2E
triadic
#0F1D2E #2E0F1D #1D2E0F
tetradic
#0F1D2E #2E0F2D #2E200F #0F2E11
square
#0F1D2E #2E0F2D #2E200F #0F2E11
split-complementary
#0F1D2E #2E110F #2D2E0F
monochromatic
#080F17 #080F17 #0F1D2E #1E3A5C #2D578A

Accessibility & contrast

On white

17.00
#0F1D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#0F1D2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1D2E
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1D2E#FFFFFF#000000##FFFFFF
##0F1D2E1.0017.001.2417.00
#FFFFFF17.001.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF17.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161E2F
Deuteranopia (green-blind)
#121B2E
Tritanopia (blue-blind)
#012123
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0f1d2e;
/* rgb */ color: rgb(15, 29, 46);
/* oklch */ color: oklch(22.7% 0.039 254.1);
Tailwind
colors: {
  custom: {
    50: '#505866',
    500: '#0f1d2e',
    950: '#000000',
  },
}
SCSS
$custom: #0f1d2e;
$custom-light: #505866;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1d2e",
  "rgb": {
    "r": 15,
    "g": 29,
    "b": 46
  },
  "hsl": {
    "h": 212.903,
    "s": 50.82,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22741,
    "c": 0.03862,
    "h": 254.1
  },
  "luminance": 0.01178
}

Semantic roles & 50–950 ramp

primary
#0F1D2E
secondary
#684F31
accent
#9B4DDA
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020306
muted
#78787A

Preview Lab

Preview with #0F1D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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