#0F122D#0F122D

#0F122D is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.7% C 0.054 H 275.5°. Best body text is #FFFFFF at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#0F122D
RGBrgb(15, 18, 45)
HSLhsl(234, 50%, 12%)
HSVhsv(234, 67%, 18%)
CMYKcmyk(66.7%, 60%, 0%, 82.4%)
CIE-LABlab(6.54, 8.12, -18.55)
CIE-LCHlch(6.54, 20.25, 293.64°)
OKLaboklab(19.67% 0.0052 -0.0534)
OKLCHoklch(19.67% 0.054 275.5)
XYZxyz(0.8868, 0.7236, 2.5750)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F122D #2D2A0F
analogous
#0F212D #0F122D #1B0F2D
triadic
#0F122D #2D0F12 #122D0F
tetradic
#0F122D #2D0F21 #2D2A0F #0F2D1B
square
#0F122D #2D0F21 #2D2A0F #0F2D1B
split-complementary
#0F122D #2D1B0F #212D0F
monochromatic
#080917 #080917 #0F122D #1E245B #2E3789

Accessibility & contrast

On white

18.34
#0F122D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F122D
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F122D#FFFFFF#000000##FFFFFF
##0F122D1.0018.341.1418.34
#FFFFFF18.341.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06162E
Deuteranopia (green-blind)
#03132C
Tritanopia (blue-blind)
#03181D
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0f122d;
/* rgb */ color: rgb(15, 18, 45);
/* oklch */ color: oklch(19.7% 0.054 275.5);
Tailwind
colors: {
  custom: {
    50: '#504f66',
    500: '#0f122d',
    950: '#000000',
  },
}
SCSS
$custom: #0f122d;
$custom-light: #504f66;
$custom-dark: #000000;
JSON
{
  "hex": "#0f122d",
  "rgb": {
    "r": 15,
    "g": 18,
    "b": 45
  },
  "hsl": {
    "h": 234,
    "s": 50,
    "l": 11.765
  },
  "oklch": {
    "l": 0.1967,
    "c": 0.05367,
    "h": 275.5
  },
  "luminance": 0.00724
}

Semantic roles & 50–950 ramp

primary
#0F122D
secondary
#666131
accent
#CC4EDA
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #0F122D

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

Preview Lab → · Contrast checker → · Palette generator →

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