#0F1A4D#0F1A4D

#0F1A4D is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.6% C 0.095 H 268.9°. Best body text is #FFFFFF at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#0F1A4D
RGBrgb(15, 26, 77)
HSLhsl(229, 67%, 18%)
HSVhsv(229, 81%, 30%)
CMYKcmyk(80.5%, 66.2%, 0%, 69.8%)
CIE-LABlab(11.80, 16.01, -32.89)
CIE-LCHlch(11.80, 36.59, 295.96°)
OKLaboklab(24.58% -0.0018 -0.095)
OKLCHoklch(24.58% 0.095 268.9)
XYZxyz(1.9055, 1.3760, 7.1849)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1A4D #4D420F
analogous
#0F394D #0F1A4D #230F4D
triadic
#0F1A4D #4D0F1A #1A4D0F
tetradic
#0F1A4D #4D0F39 #4D420F #0F4D23
square
#0F1A4D #4D0F39 #4D420F #0F4D23
split-complementary
#0F1A4D #4D230F #394D0F
monochromatic
#05091A #05091A #0F1A4D #192B80 #233DB3

Accessibility & contrast

On white

16.47
#0F1A4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1A4D
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1A4D#FFFFFF#000000##FFFFFF
##0F1A4D1.0016.471.2816.47
#FFFFFF16.471.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224F
Deuteranopia (green-blind)
#001C4C
Tritanopia (blue-blind)
#002730
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #0f1a4d;
/* rgb */ color: rgb(15, 26, 77);
/* oklch */ color: oklch(24.6% 0.095 268.9);
Tailwind
colors: {
  custom: {
    50: '#58567f',
    500: '#0f1a4d',
    950: '#000000',
  },
}
SCSS
$custom: #0f1a4d;
$custom-light: #58567f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1a4d",
  "rgb": {
    "r": 15,
    "g": 26,
    "b": 77
  },
  "hsl": {
    "h": 229.355,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.2458,
    "c": 0.09499,
    "h": 268.9
  },
  "luminance": 0.01376
}

Semantic roles & 50–950 ramp

primary
#0F1A4D
secondary
#877831
accent
#CC3EEA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0F1A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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