#0F184A#0F184A

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

Color values

HEX#0F184A
RGBrgb(15, 24, 74)
HSLhsl(231, 66%, 17%)
HSVhsv(231, 80%, 29%)
CMYKcmyk(79.7%, 67.6%, 0%, 71%)
CIE-LABlab(10.91, 16.25, -32.26)
CIE-LCHlch(10.91, 36.12, 296.73°)
OKLaboklab(23.84% -0.0001 -0.0931)
OKLCHoklch(23.84% 0.093 269.9)
XYZxyz(1.7592, 1.2491, 6.6256)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F184A #4A410F
analogous
#0F364A #0F184A #230F4A
triadic
#0F184A #4A0F18 #184A0F
tetradic
#0F184A #4A0F36 #4A410F #0F4A23
square
#0F184A #4A0F36 #4A410F #0F4A23
split-complementary
#0F184A #4A230F #364A0F
monochromatic
#050819 #050819 #0F184A #19297D #2439B0

Accessibility & contrast

On white

16.80
#0F184A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#0F184A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F184A
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F184A#FFFFFF#000000##FFFFFF
##0F184A1.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204C
Deuteranopia (green-blind)
#001B49
Tritanopia (blue-blind)
#00252E
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0f184a;
/* rgb */ color: rgb(15, 24, 74);
/* oklch */ color: oklch(23.8% 0.093 269.9);
Tailwind
colors: {
  custom: {
    50: '#57547d',
    500: '#0f184a',
    950: '#000000',
  },
}
SCSS
$custom: #0f184a;
$custom-light: #57547d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f184a",
  "rgb": {
    "r": 15,
    "g": 24,
    "b": 74
  },
  "hsl": {
    "h": 230.847,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.23836,
    "c": 0.09314,
    "h": 269.9
  },
  "luminance": 0.01249
}

Semantic roles & 50–950 ramp

primary
#0F184A
secondary
#847830
accent
#CF3FE9
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0F184A

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

Preview Lab → · Contrast checker → · Palette generator →

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