#0F184E#0F184E

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

Color values

HEX#0F184E
RGBrgb(15, 24, 78)
HSLhsl(231, 68%, 18%)
HSVhsv(231, 81%, 31%)
CMYKcmyk(80.8%, 69.2%, 0%, 69.4%)
CIE-LABlab(11.31, 17.95, -34.38)
CIE-LCHlch(11.31, 38.78, 297.57°)
OKLaboklab(24.25% -0.0002 -0.0993)
OKLCHoklch(24.25% 0.099 269.9)
XYZxyz(1.8983, 1.3047, 7.3580)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F184E #4E450F
analogous
#0F374E #0F184E #250F4E
triadic
#0F184E #4E0F18 #184E0F
tetradic
#0F184E #4E0F37 #4E450F #0F4E25
square
#0F184E #4E0F37 #4E450F #0F4E25
split-complementary
#0F184E #4E250F #374E0F
monochromatic
#05081A #05081B #0F184E #192881 #2338B5

Accessibility & contrast

On white

16.65
#0F184E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F184E
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F184E#FFFFFF#000000##FFFFFF
##0F184E1.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f184e;
/* rgb */ color: rgb(15, 24, 78);
/* oklch */ color: oklch(24.2% 0.099 269.9);
Tailwind
colors: {
  custom: {
    50: '#595480',
    500: '#0f184e',
    950: '#000000',
  },
}
SCSS
$custom: #0f184e;
$custom-light: #595480;
$custom-dark: #000000;
JSON
{
  "hex": "#0f184e",
  "rgb": {
    "r": 15,
    "g": 24,
    "b": 78
  },
  "hsl": {
    "h": 231.429,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.24249,
    "c": 0.09935,
    "h": 269.9
  },
  "luminance": 0.01305
}

Semantic roles & 50–950 ramp

primary
#0F184E
secondary
#887C31
accent
#D23DEB
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0F184E

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

Preview Lab → · Contrast checker → · Palette generator →

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