#0F184F#0F184F

#0F184F is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.4% C 0.101 H 269.8°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#0F184F
RGBrgb(15, 24, 79)
HSLhsl(232, 68%, 18%)
HSVhsv(232, 81%, 31%)
CMYKcmyk(81%, 69.6%, 0%, 69%)
CIE-LABlab(11.41, 18.37, -34.90)
CIE-LCHlch(11.41, 39.44, 297.76°)
OKLaboklab(24.35% -0.0003 -0.1009)
OKLCHoklch(24.35% 0.101 269.8)
XYZxyz(1.9344, 1.3191, 7.5483)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F184F #4F460F
analogous
#0F384F #0F184F #260F4F
triadic
#0F184F #4F0F18 #184F0F
tetradic
#0F184F #4F0F38 #4F460F #0F4F26
square
#0F184F #4F0F38 #4F460F #0F4F26
split-complementary
#0F184F #4F260F #384F0F
monochromatic
#05081A #05081C #0F184F #192882 #2337B6

Accessibility & contrast

On white

16.62
#0F184F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#0F184F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F184F
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F184F#FFFFFF#000000##FFFFFF
##0F184F1.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002151
Deuteranopia (green-blind)
#001B4E
Tritanopia (blue-blind)
#002630
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0f184f;
/* rgb */ color: rgb(15, 24, 79);
/* oklch */ color: oklch(24.4% 0.101 269.8);
Tailwind
colors: {
  custom: {
    50: '#595481',
    500: '#0f184f',
    950: '#000000',
  },
}
SCSS
$custom: #0f184f;
$custom-light: #595481;
$custom-dark: #000000;
JSON
{
  "hex": "#0f184f",
  "rgb": {
    "r": 15,
    "g": 24,
    "b": 79
  },
  "hsl": {
    "h": 231.563,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.24354,
    "c": 0.10088,
    "h": 269.8
  },
  "luminance": 0.01319
}

Semantic roles & 50–950 ramp

primary
#0F184F
secondary
#897D31
accent
#D23DEB
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0F184F

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

Preview Lab → · Contrast checker → · Palette generator →

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