#0F192F#0F192F

#0F192F is a very dark, muted blue. Relative luminance 0.010; OKLCH L 21.7% C 0.046 H 264.4°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#0F192F
RGBrgb(15, 25, 47)
HSLhsl(221, 52%, 12%)
HSVhsv(221, 68%, 18%)
CMYKcmyk(68.1%, 46.8%, 0%, 81.6%)
CIE-LABlab(9.01, 3.83, -16.10)
CIE-LCHlch(9.01, 16.55, 283.38°)
OKLaboklab(21.69% -0.0044 -0.0456)
OKLCHoklch(21.69% 0.046 264.4)
XYZxyz(1.0575, 1.0020, 2.8264)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F192F #2F250F
analogous
#0F292F #0F192F #150F2F
triadic
#0F192F #2F0F19 #192F0F
tetradic
#0F192F #2F0F29 #2F250F #0F2F15
square
#0F192F #2F0F29 #2F250F #0F2F15
split-complementary
#0F192F #2F150F #292F0F
monochromatic
#070C17 #070C17 #0F192F #1E325D #2D4A8C

Accessibility & contrast

On white

17.49
#0F192F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F192F
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F192F#FFFFFF#000000##FFFFFF
##0F192F1.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f192f;
/* rgb */ color: rgb(15, 25, 47);
/* oklch */ color: oklch(21.7% 0.046 264.4);
Tailwind
colors: {
  custom: {
    50: '#505567',
    500: '#0f192f',
    950: '#000000',
  },
}
SCSS
$custom: #0f192f;
$custom-light: #505567;
$custom-dark: #000000;
JSON
{
  "hex": "#0f192f",
  "rgb": {
    "r": 15,
    "g": 25,
    "b": 47
  },
  "hsl": {
    "h": 221.25,
    "s": 51.613,
    "l": 12.157
  },
  "oklch": {
    "l": 0.21685,
    "c": 0.04586,
    "h": 264.4
  },
  "luminance": 0.01002
}

Semantic roles & 50–950 ramp

primary
#0F192F
secondary
#695731
accent
#AF4DDB
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020306
muted
#78787A

Preview Lab

Preview with #0F192F

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

Preview Lab → · Contrast checker → · Palette generator →

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