#0F185D#0F185D

#0F185D is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.9% C 0.122 H 269.3°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#0F185D
RGBrgb(15, 24, 93)
HSLhsl(233, 72%, 21%)
HSVhsv(233, 84%, 36%)
CMYKcmyk(83.9%, 74.2%, 0%, 63.5%)
CIE-LABlab(12.89, 24.14, -41.96)
CIE-LCHlch(12.89, 48.41, 299.91°)
OKLaboklab(25.89% -0.0014 -0.1215)
OKLCHoklch(25.89% 0.122 269.3)
XYZxyz(2.4987, 1.5449, 10.5203)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F185D #5D540F
analogous
#0F3F5D #0F185D #2D0F5D
triadic
#0F185D #5D0F18 #185D0F
tetradic
#0F185D #5D0F3F #5D540F #0F5D2D
square
#0F185D #5D0F3F #5D540F #0F5D2D
split-complementary
#0F185D #5D2D0F #3F5D0F
monochromatic
#04071A #060A28 #0F185D #172692 #2033C6

Accessibility & contrast

On white

16.04
#0F185D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#0F185D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F185D
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F185D#FFFFFF#000000##FFFFFF
##0F185D1.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255F
Deuteranopia (green-blind)
#001E5C
Tritanopia (blue-blind)
#002B38
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0f185d;
/* rgb */ color: rgb(15, 24, 93);
/* oklch */ color: oklch(25.9% 0.122 269.3);
Tailwind
colors: {
  custom: {
    50: '#5d558c',
    500: '#0f185d',
    950: '#000000',
  },
}
SCSS
$custom: #0f185d;
$custom-light: #5d558c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f185d",
  "rgb": {
    "r": 15,
    "g": 24,
    "b": 93
  },
  "hsl": {
    "h": 233.077,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.25886,
    "c": 0.12153,
    "h": 269.3
  },
  "luminance": 0.01545
}

Semantic roles & 50–950 ramp

primary
#0F185D
secondary
#968B31
accent
#DA39EF
background
#F5F4F8
surface
#EAE8F0
border
#C6C4CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #0F185D

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

Preview Lab → · Contrast checker → · Palette generator →

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