#0F1D4D#0F1D4D

#0F1D4D is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.3% C 0.091 H 267.2°. Best body text is #FFFFFF at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#0F1D4D
RGBrgb(15, 29, 77)
HSLhsl(226, 67%, 18%)
HSVhsv(226, 81%, 30%)
CMYKcmyk(80.5%, 62.3%, 0%, 69.8%)
CIE-LABlab(12.71, 13.73, -31.41)
CIE-LCHlch(12.71, 34.28, 293.61°)
OKLaboklab(25.26% -0.0044 -0.0906)
OKLCHoklch(25.26% 0.091 267.2)
XYZxyz(1.9755, 1.5159, 7.2082)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1D4D #4D3F0F
analogous
#0F3C4D #0F1D4D #200F4D
triadic
#0F1D4D #4D0F1D #1D4D0F
tetradic
#0F1D4D #4D0F3C #4D3F0F #0F4D20
square
#0F1D4D #4D0F3C #4D3F0F #0F4D20
split-complementary
#0F1D4D #4D200F #3C4D0F
monochromatic
#050A1A #050A1A #0F1D4D #193080 #2344B3

Accessibility & contrast

On white

16.11
#0F1D4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1D4D
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1D4D#FFFFFF#000000##FFFFFF
##0F1D4D1.0016.111.3016.11
#FFFFFF16.111.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244F
Deuteranopia (green-blind)
#001E4C
Tritanopia (blue-blind)
#002931
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0f1d4d;
/* rgb */ color: rgb(15, 29, 77);
/* oklch */ color: oklch(25.3% 0.091 267.2);
Tailwind
colors: {
  custom: {
    50: '#58587f',
    500: '#0f1d4d',
    950: '#000000',
  },
}
SCSS
$custom: #0f1d4d;
$custom-light: #58587f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1d4d",
  "rgb": {
    "r": 15,
    "g": 29,
    "b": 77
  },
  "hsl": {
    "h": 226.452,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.25261,
    "c": 0.09067,
    "h": 267.2
  },
  "luminance": 0.01516
}

Semantic roles & 50–950 ramp

primary
#0F1D4D
secondary
#877431
accent
#C33EEA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0F1D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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