#0F1A4F#0F1A4F

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

Color values

HEX#0F1A4F
RGBrgb(15, 26, 79)
HSLhsl(230, 68%, 18%)
HSVhsv(230, 81%, 31%)
CMYKcmyk(81%, 67.1%, 0%, 69%)
CIE-LABlab(11.99, 16.87, -33.95)
CIE-LCHlch(11.99, 37.91, 296.42°)
OKLaboklab(24.78% -0.0018 -0.0981)
OKLCHoklch(24.78% 0.098 268.9)
XYZxyz(1.9772, 1.4047, 7.5625)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1A4F #4F440F
analogous
#0F3A4F #0F1A4F #240F4F
triadic
#0F1A4F #4F0F1A #1A4F0F
tetradic
#0F1A4F #4F0F3A #4F440F #0F4F24
square
#0F1A4F #4F0F3A #4F440F #0F4F24
split-complementary
#0F1A4F #4F240F #3A4F0F
monochromatic
#05081A #05091C #0F1A4F #192B82 #233CB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F1A4F#FFFFFF#000000##FFFFFF
##0F1A4F1.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)
#002351
Deuteranopia (green-blind)
#001D4E
Tritanopia (blue-blind)
#002831
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #0f1a4f;
/* rgb */ color: rgb(15, 26, 79);
/* oklch */ color: oklch(24.8% 0.098 268.9);
Tailwind
colors: {
  custom: {
    50: '#595681',
    500: '#0f1a4f',
    950: '#000000',
  },
}
SCSS
$custom: #0f1a4f;
$custom-light: #595681;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1a4f",
  "rgb": {
    "r": 15,
    "g": 26,
    "b": 79
  },
  "hsl": {
    "h": 229.688,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.24782,
    "c": 0.0981,
    "h": 268.9
  },
  "luminance": 0.01405
}

Semantic roles & 50–950 ramp

primary
#0F1A4F
secondary
#897A31
accent
#CD3DEB
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0F1A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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