#0F1127#0F1127

#0F1127 is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.9% C 0.044 H 277.3°. Best body text is #FFFFFF at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#0F1127
RGBrgb(15, 17, 39)
HSLhsl(235, 44%, 11%)
HSVhsv(235, 62%, 15%)
CMYKcmyk(61.5%, 56.4%, 0%, 84.7%)
CIE-LABlab(5.86, 6.01, -15.11)
CIE-LCHlch(5.86, 16.27, 291.69°)
OKLaboklab(18.92% 0.0057 -0.044)
OKLCHoklch(18.92% 0.044 277.3)
XYZxyz(0.7635, 0.6489, 2.0041)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1127 #27250F
analogous
#0F1D27 #0F1127 #190F27
triadic
#0F1127 #270F11 #11270F
tetradic
#0F1127 #270F1D #27250F #0F2719
square
#0F1127 #270F1D #27250F #0F2719
split-complementary
#0F1127 #27190F #1D270F
monochromatic
#090A16 #090A16 #0F1127 #202453 #31387F

Accessibility & contrast

On white

18.59
#0F1127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#0F1127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1127
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1127#FFFFFF#000000##FFFFFF
##0F11271.0018.591.1318.59
#FFFFFF18.591.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081428
Deuteranopia (green-blind)
#061227
Tritanopia (blue-blind)
#06161A
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0f1127;
/* rgb */ color: rgb(15, 17, 39);
/* oklch */ color: oklch(18.9% 0.044 277.3);
Tailwind
colors: {
  custom: {
    50: '#4f4f61',
    500: '#0f1127',
    950: '#000000',
  },
}
SCSS
$custom: #0f1127;
$custom-light: #4f4f61;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1127",
  "rgb": {
    "r": 15,
    "g": 17,
    "b": 39
  },
  "hsl": {
    "h": 235,
    "s": 44.444,
    "l": 10.588
  },
  "oklch": {
    "l": 0.18915,
    "c": 0.04433,
    "h": 277.3
  },
  "luminance": 0.00649
}

Semantic roles & 50–950 ramp

primary
#0F1127
secondary
#605C32
accent
#C954D4
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#020105
muted
#787779

Preview Lab

Preview with #0F1127

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

Preview Lab → · Contrast checker → · Palette generator →

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