#0F122E#0F122E

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

Color values

HEX#0F122E
RGBrgb(15, 18, 46)
HSLhsl(234, 51%, 12%)
HSVhsv(234, 67%, 18%)
CMYKcmyk(67.4%, 60.9%, 0%, 82%)
CIE-LABlab(6.61, 8.58, -19.18)
CIE-LCHlch(6.61, 21.02, 294.11°)
OKLaboklab(19.76% 0.0053 -0.0552)
OKLCHoklch(19.76% 0.055 275.5)
XYZxyz(0.9063, 0.7314, 2.6776)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F122E #2E2B0F
analogous
#0F222E #0F122E #1C0F2E
triadic
#0F122E #2E0F12 #122E0F
tetradic
#0F122E #2E0F22 #2E2B0F #0F2E1C
square
#0F122E #2E0F22 #2E2B0F #0F2E1C
split-complementary
#0F122E #2E1C0F #222E0F
monochromatic
#080917 #080917 #0F122E #1E245C #2D368A

Accessibility & contrast

On white

18.32
#0F122E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#0F122E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F122E
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F122E#FFFFFF#000000##FFFFFF
##0F122E1.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05162F
Deuteranopia (green-blind)
#02132D
Tritanopia (blue-blind)
#02181D
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0f122e;
/* rgb */ color: rgb(15, 18, 46);
/* oklch */ color: oklch(19.8% 0.055 275.5);
Tailwind
colors: {
  custom: {
    50: '#504f67',
    500: '#0f122e',
    950: '#000000',
  },
}
SCSS
$custom: #0f122e;
$custom-light: #504f67;
$custom-dark: #000000;
JSON
{
  "hex": "#0f122e",
  "rgb": {
    "r": 15,
    "g": 18,
    "b": 46
  },
  "hsl": {
    "h": 234.194,
    "s": 50.82,
    "l": 11.961
  },
  "oklch": {
    "l": 0.19757,
    "c": 0.05548,
    "h": 275.5
  },
  "luminance": 0.00731
}

Semantic roles & 50–950 ramp

primary
#0F122E
secondary
#686231
accent
#CD4DDA
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #0F122E

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

Preview Lab → · Contrast checker → · Palette generator →

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