#0F1D4A#0F1D4A

#0F1D4A is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 25.0% C 0.086 H 266.9°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#0F1D4A
RGBrgb(15, 29, 74)
HSLhsl(226, 66%, 17%)
HSVhsv(226, 80%, 29%)
CMYKcmyk(79.7%, 60.8%, 0%, 71%)
CIE-LABlab(12.45, 12.42, -29.77)
CIE-LCHlch(12.45, 32.26, 292.65°)
OKLaboklab(24.98% -0.0046 -0.0857)
OKLCHoklch(24.98% 0.086 266.9)
XYZxyz(1.8720, 1.4745, 6.6632)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1D4A #4A3C0F
analogous
#0F3A4A #0F1D4A #1F0F4A
triadic
#0F1D4A #4A0F1D #1D4A0F
tetradic
#0F1D4A #4A0F3A #4A3C0F #0F4A1F
square
#0F1D4A #4A0F3A #4A3C0F #0F4A1F
split-complementary
#0F1D4A #4A1F0F #3A4A0F
monochromatic
#050A19 #050A19 #0F1D4A #19317D #2445B0

Accessibility & contrast

On white

16.22
#0F1D4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#0F1D4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1D4A
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1D4A#FFFFFF#000000##FFFFFF
##0F1D4A1.0016.221.3016.22
#FFFFFF16.221.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234C
Deuteranopia (green-blind)
#001E49
Tritanopia (blue-blind)
#002830
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0f1d4a;
/* rgb */ color: rgb(15, 29, 74);
/* oklch */ color: oklch(25.0% 0.086 266.9);
Tailwind
colors: {
  custom: {
    50: '#57587d',
    500: '#0f1d4a',
    950: '#000000',
  },
}
SCSS
$custom: #0f1d4a;
$custom-light: #57587d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1d4a",
  "rgb": {
    "r": 15,
    "g": 29,
    "b": 74
  },
  "hsl": {
    "h": 225.763,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.2498,
    "c": 0.08586,
    "h": 266.9
  },
  "luminance": 0.01475
}

Semantic roles & 50–950 ramp

primary
#0F1D4A
secondary
#847030
accent
#C13FE9
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030309
muted
#78787B

Preview Lab

Preview with #0F1D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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