#0F184B#0F184B

#0F184B is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.9% C 0.095 H 269.9°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#0F184B
RGBrgb(15, 24, 75)
HSLhsl(231, 67%, 18%)
HSVhsv(231, 80%, 29%)
CMYKcmyk(80%, 68%, 0%, 70.6%)
CIE-LABlab(11.01, 16.68, -32.80)
CIE-LCHlch(11.01, 36.79, 296.96°)
OKLaboklab(23.94% -0.0001 -0.0947)
OKLCHoklch(23.94% 0.095 269.9)
XYZxyz(1.7932, 1.2626, 6.8045)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F184B #4B420F
analogous
#0F364B #0F184B #240F4B
triadic
#0F184B #4B0F18 #184B0F
tetradic
#0F184B #4B0F36 #4B420F #0F4B24
square
#0F184B #4B0F36 #4B420F #0F4B24
split-complementary
#0F184B #4B240F #364B0F
monochromatic
#05081A #05081A #0F184B #19287E #2339B1

Accessibility & contrast

On white

16.77
#0F184B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F184B
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F184B#FFFFFF#000000##FFFFFF
##0F184B1.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f184b;
/* rgb */ color: rgb(15, 24, 75);
/* oklch */ color: oklch(23.9% 0.095 269.9);
Tailwind
colors: {
  custom: {
    50: '#58547e',
    500: '#0f184b',
    950: '#000000',
  },
}
SCSS
$custom: #0f184b;
$custom-light: #58547e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f184b",
  "rgb": {
    "r": 15,
    "g": 24,
    "b": 75
  },
  "hsl": {
    "h": 231,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.23938,
    "c": 0.0947,
    "h": 269.9
  },
  "luminance": 0.01263
}

Semantic roles & 50–950 ramp

primary
#0F184B
secondary
#857930
accent
#D03EEA
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0F184B

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

Preview Lab → · Contrast checker → · Palette generator →

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