#0F192E#0F192E

#0F192E is a very dark, muted blue. Relative luminance 0.010; OKLCH L 21.6% C 0.044 H 263.8°. Best body text is #FFFFFF at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#0F192E
RGBrgb(15, 25, 46)
HSLhsl(221, 51%, 12%)
HSVhsv(221, 67%, 18%)
CMYKcmyk(67.4%, 45.7%, 0%, 82%)
CIE-LABlab(8.94, 3.41, -15.47)
CIE-LCHlch(8.94, 15.84, 282.43°)
OKLaboklab(21.61% -0.0047 -0.0438)
OKLCHoklch(21.61% 0.044 263.8)
XYZxyz(1.0376, 0.9940, 2.7214)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F192E #2E240F
analogous
#0F292E #0F192E #150F2E
triadic
#0F192E #2E0F19 #192E0F
tetradic
#0F192E #2E0F29 #2E240F #0F2E15
square
#0F192E #2E0F29 #2E240F #0F2E15
split-complementary
#0F192E #2E150F #292E0F
monochromatic
#080D17 #080D17 #0F192E #1E325C #2D4B8A

Accessibility & contrast

On white

17.52
#0F192E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#0F192E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F192E
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F192E#FFFFFF#000000##FFFFFF
##0F192E1.0017.521.2017.52
#FFFFFF17.521.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101B2F
Deuteranopia (green-blind)
#0D182E
Tritanopia (blue-blind)
#011E21
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0f192e;
/* rgb */ color: rgb(15, 25, 46);
/* oklch */ color: oklch(21.6% 0.044 263.8);
Tailwind
colors: {
  custom: {
    50: '#505567',
    500: '#0f192e',
    950: '#000000',
  },
}
SCSS
$custom: #0f192e;
$custom-light: #505567;
$custom-dark: #000000;
JSON
{
  "hex": "#0f192e",
  "rgb": {
    "r": 15,
    "g": 25,
    "b": 46
  },
  "hsl": {
    "h": 220.645,
    "s": 50.82,
    "l": 11.961
  },
  "oklch": {
    "l": 0.21612,
    "c": 0.04406,
    "h": 263.8
  },
  "luminance": 0.00994
}

Semantic roles & 50–950 ramp

primary
#0F192E
secondary
#685631
accent
#AD4DDA
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020306
muted
#78787A

Preview Lab

Preview with #0F192E

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

Preview Lab → · Contrast checker → · Palette generator →

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