#0F184C#0F184C

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

Color values

HEX#0F184C
RGBrgb(15, 24, 76)
HSLhsl(231, 67%, 18%)
HSVhsv(231, 80%, 30%)
CMYKcmyk(80.3%, 68.4%, 0%, 70.2%)
CIE-LABlab(11.11, 17.10, -33.33)
CIE-LCHlch(11.11, 37.46, 297.17°)
OKLaboklab(24.04% -0.0002 -0.0963)
OKLCHoklch(24.04% 0.096 269.9)
XYZxyz(1.8277, 1.2764, 6.9861)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F184C #4C430F
analogous
#0F364C #0F184C #250F4C
triadic
#0F184C #4C0F18 #184C0F
tetradic
#0F184C #4C0F36 #4C430F #0F4C25
square
#0F184C #4C0F36 #4C430F #0F4C25
split-complementary
#0F184C #4C250F #364C0F
monochromatic
#05081A #05081A #0F184C #19287F #2338B2

Accessibility & contrast

On white

16.73
#0F184C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F184C
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F184C#FFFFFF#000000##FFFFFF
##0F184C1.0016.731.2616.73
#FFFFFF16.731.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214E
Deuteranopia (green-blind)
#001B4B
Tritanopia (blue-blind)
#00252F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0f184c;
/* rgb */ color: rgb(15, 24, 76);
/* oklch */ color: oklch(24.0% 0.096 269.9);
Tailwind
colors: {
  custom: {
    50: '#58547f',
    500: '#0f184c',
    950: '#000000',
  },
}
SCSS
$custom: #0f184c;
$custom-light: #58547f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f184c",
  "rgb": {
    "r": 15,
    "g": 24,
    "b": 76
  },
  "hsl": {
    "h": 231.148,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24041,
    "c": 0.09626,
    "h": 269.9
  },
  "luminance": 0.01277
}

Semantic roles & 50–950 ramp

primary
#0F184C
secondary
#867A31
accent
#D13EEA
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0F184C

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

Preview Lab → · Contrast checker → · Palette generator →

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