#0F192C#0F192C

#0F192C is a very dark, muted blue. Relative luminance 0.010; OKLCH L 21.5% C 0.040 H 262.4°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#0F192C
RGBrgb(15, 25, 44)
HSLhsl(219, 49%, 12%)
HSVhsv(219, 66%, 17%)
CMYKcmyk(65.9%, 43.2%, 0%, 82.7%)
CIE-LABlab(8.81, 2.58, -14.21)
CIE-LCHlch(8.81, 14.44, 280.30°)
OKLaboklab(21.47% -0.0054 -0.0401)
OKLCHoklch(21.47% 0.04 262.4)
XYZxyz(0.9991, 0.9786, 2.5186)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F192C #2C220F
analogous
#0F282C #0F192C #140F2C
triadic
#0F192C #2C0F19 #192C0F
tetradic
#0F192C #2C0F28 #2C220F #0F2C14
square
#0F192C #2C0F28 #2C220F #0F2C14
split-complementary
#0F192C #2C140F #282C0F
monochromatic
#080D17 #080D17 #0F192C #1F335A #2E4D87

Accessibility & contrast

On white

17.56
#0F192C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F192C
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F192C#FFFFFF#000000##FFFFFF
##0F192C1.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111B2D
Deuteranopia (green-blind)
#0E182C
Tritanopia (blue-blind)
#021D20
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0f192c;
/* rgb */ color: rgb(15, 25, 44);
/* oklch */ color: oklch(21.5% 0.040 262.4);
Tailwind
colors: {
  custom: {
    50: '#505565',
    500: '#0f192c',
    950: '#000000',
  },
}
SCSS
$custom: #0f192c;
$custom-light: #505565;
$custom-dark: #000000;
JSON
{
  "hex": "#0f192c",
  "rgb": {
    "r": 15,
    "g": 25,
    "b": 44
  },
  "hsl": {
    "h": 219.31,
    "s": 49.153,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21469,
    "c": 0.04047,
    "h": 262.4
  },
  "luminance": 0.00979
}

Semantic roles & 50–950 ramp

primary
#0F192C
secondary
#655331
accent
#A94FD9
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020305
muted
#78787A

Preview Lab

Preview with #0F192C

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

Preview Lab → · Contrast checker → · Palette generator →

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