#0F1847#0F1847

#0F1847 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.5% C 0.088 H 269.9°. Best body text is #FFFFFF at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#0F1847
RGBrgb(15, 24, 71)
HSLhsl(230, 65%, 17%)
HSVhsv(230, 79%, 28%)
CMYKcmyk(78.9%, 66.2%, 0%, 72.2%)
CIE-LABlab(10.63, 14.97, -30.64)
CIE-LCHlch(10.63, 34.10, 296.03°)
OKLaboklab(23.53% -0.0001 -0.0884)
OKLCHoklch(23.53% 0.088 269.9)
XYZxyz(1.6606, 1.2096, 6.1060)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1847 #473E0F
analogous
#0F3447 #0F1847 #220F47
triadic
#0F1847 #470F18 #18470F
tetradic
#0F1847 #470F34 #473E0F #0F4722
square
#0F1847 #470F34 #473E0F #0F4722
split-complementary
#0F1847 #47220F #34470F
monochromatic
#050919 #050919 #0F1847 #1A297A #243AAC

Accessibility & contrast

On white

16.91
#0F1847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#0F1847 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1847
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1847#FFFFFF#000000##FFFFFF
##0F18471.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F49
Deuteranopia (green-blind)
#001A46
Tritanopia (blue-blind)
#00242C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0f1847;
/* rgb */ color: rgb(15, 24, 71);
/* oklch */ color: oklch(23.5% 0.088 269.9);
Tailwind
colors: {
  custom: {
    50: '#57547b',
    500: '#0f1847',
    950: '#000000',
  },
}
SCSS
$custom: #0f1847;
$custom-light: #57547b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1847",
  "rgb": {
    "r": 15,
    "g": 24,
    "b": 71
  },
  "hsl": {
    "h": 230.357,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.23534,
    "c": 0.08838,
    "h": 269.9
  },
  "luminance": 0.0121
}

Semantic roles & 50–950 ramp

primary
#0F1847
secondary
#817430
accent
#CD40E8
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030209
muted
#78787B

Preview Lab

Preview with #0F1847

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

Preview Lab → · Contrast checker → · Palette generator →

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