#0F192B#0F192B

#0F192B is a very dark, muted blue. Relative luminance 0.010; OKLCH L 21.4% C 0.039 H 261.5°. Best body text is #FFFFFF at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#0F192B
RGBrgb(15, 25, 43)
HSLhsl(219, 48%, 11%)
HSVhsv(219, 65%, 17%)
CMYKcmyk(65.1%, 41.9%, 0%, 83.1%)
CIE-LABlab(8.75, 2.17, -13.57)
CIE-LCHlch(8.75, 13.74, 279.07°)
OKLaboklab(21.4% -0.0057 -0.0382)
OKLCHoklch(21.4% 0.039 261.5)
XYZxyz(0.9805, 0.9712, 2.4208)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F192B #2B210F
analogous
#0F272B #0F192B #130F2B
triadic
#0F192B #2B0F19 #192B0F
tetradic
#0F192B #2B0F27 #2B210F #0F2B13
square
#0F192B #2B0F27 #2B210F #0F2B13
split-complementary
#0F192B #2B130F #272B0F
monochromatic
#080D17 #080D17 #0F192B #1F3358 #2F4E86

Accessibility & contrast

On white

17.58
#0F192B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#0F192B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F192B
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F192B#FFFFFF#000000##FFFFFF
##0F192B1.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121A2C
Deuteranopia (green-blind)
#0F182B
Tritanopia (blue-blind)
#031D20
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0f192b;
/* rgb */ color: rgb(15, 25, 43);
/* oklch */ color: oklch(21.4% 0.039 261.5);
Tailwind
colors: {
  custom: {
    50: '#4f5564',
    500: '#0f192b',
    950: '#000000',
  },
}
SCSS
$custom: #0f192b;
$custom-light: #4f5564;
$custom-dark: #000000;
JSON
{
  "hex": "#0f192b",
  "rgb": {
    "r": 15,
    "g": 25,
    "b": 43
  },
  "hsl": {
    "h": 218.571,
    "s": 48.276,
    "l": 11.373
  },
  "oklch": {
    "l": 0.214,
    "c": 0.03867,
    "h": 261.5
  },
  "luminance": 0.00971
}

Semantic roles & 50–950 ramp

primary
#0F192B
secondary
#645232
accent
#A750D8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020305
muted
#78787A

Preview Lab

Preview with #0F192B

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

Preview Lab → · Contrast checker → · Palette generator →

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