#0F1A4C#0F1A4C

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

Color values

HEX#0F1A4C
RGBrgb(15, 26, 76)
HSLhsl(229, 67%, 18%)
HSVhsv(229, 80%, 30%)
CMYKcmyk(80.3%, 65.8%, 0%, 70.2%)
CIE-LABlab(11.70, 15.59, -32.36)
CIE-LCHlch(11.70, 35.92, 295.72°)
OKLaboklab(24.48% -0.0018 -0.0934)
OKLCHoklch(24.48% 0.093 268.9)
XYZxyz(1.8705, 1.3620, 7.0004)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1A4C #4C410F
analogous
#0F384C #0F1A4C #220F4C
triadic
#0F1A4C #4C0F1A #1A4C0F
tetradic
#0F1A4C #4C0F38 #4C410F #0F4C22
square
#0F1A4C #4C0F38 #4C410F #0F4C22
split-complementary
#0F1A4C #4C220F #384C0F
monochromatic
#05091A #05091A #0F1A4C #192B7F #233DB2

Accessibility & contrast

On white

16.50
#0F1A4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#0F1A4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1A4C
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1A4C#FFFFFF#000000##FFFFFF
##0F1A4C1.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f1a4c;
/* rgb */ color: rgb(15, 26, 76);
/* oklch */ color: oklch(24.5% 0.093 268.9);
Tailwind
colors: {
  custom: {
    50: '#58567f',
    500: '#0f1a4c',
    950: '#000000',
  },
}
SCSS
$custom: #0f1a4c;
$custom-light: #58567f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1a4c",
  "rgb": {
    "r": 15,
    "g": 26,
    "b": 76
  },
  "hsl": {
    "h": 229.18,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.2448,
    "c": 0.09342,
    "h": 268.9
  },
  "luminance": 0.01362
}

Semantic roles & 50–950 ramp

primary
#0F1A4C
secondary
#867731
accent
#CB3EEA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0F1A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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