#0F1B4C#0F1B4C

#0F1B4C is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.7% C 0.092 H 268.3°. Best body text is #FFFFFF at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#0F1B4C
RGBrgb(15, 27, 76)
HSLhsl(228, 67%, 18%)
HSVhsv(228, 80%, 30%)
CMYKcmyk(80.3%, 64.5%, 0%, 70.2%)
CIE-LABlab(12.00, 14.82, -31.87)
CIE-LCHlch(12.00, 35.15, 294.95°)
OKLaboklab(24.71% -0.0027 -0.0919)
OKLCHoklch(24.71% 0.092 268.3)
XYZxyz(1.8930, 1.4070, 7.0079)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1B4C #4C400F
analogous
#0F394C #0F1B4C #220F4C
triadic
#0F1B4C #4C0F1B #1B4C0F
tetradic
#0F1B4C #4C0F39 #4C400F #0F4C22
square
#0F1B4C #4C0F39 #4C400F #0F4C22
split-complementary
#0F1B4C #4C220F #394C0F
monochromatic
#05091A #05091A #0F1B4C #192D7F #233FB2

Accessibility & contrast

On white

16.39
#0F1B4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#0F1B4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1B4C
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1B4C#FFFFFF#000000##FFFFFF
##0F1B4C1.0016.391.2816.39
#FFFFFF16.391.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224E
Deuteranopia (green-blind)
#001D4B
Tritanopia (blue-blind)
#002730
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0f1b4c;
/* rgb */ color: rgb(15, 27, 76);
/* oklch */ color: oklch(24.7% 0.092 268.3);
Tailwind
colors: {
  custom: {
    50: '#58567e',
    500: '#0f1b4c',
    950: '#000000',
  },
}
SCSS
$custom: #0f1b4c;
$custom-light: #58567e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1b4c",
  "rgb": {
    "r": 15,
    "g": 27,
    "b": 76
  },
  "hsl": {
    "h": 228.197,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24705,
    "c": 0.09197,
    "h": 268.3
  },
  "luminance": 0.01407
}

Semantic roles & 50–950 ramp

primary
#0F1B4C
secondary
#867531
accent
#C83EEA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0F1B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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