#0F1A4B#0F1A4B

#0F1A4B is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.4% C 0.092 H 268.9°. Best body text is #FFFFFF at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#0F1A4B
RGBrgb(15, 26, 75)
HSLhsl(229, 67%, 18%)
HSVhsv(229, 80%, 29%)
CMYKcmyk(80%, 65.3%, 0%, 70.6%)
CIE-LABlab(11.61, 15.16, -31.82)
CIE-LCHlch(11.61, 35.25, 295.47°)
OKLaboklab(24.38% -0.0018 -0.0918)
OKLCHoklch(24.38% 0.092 268.9)
XYZxyz(1.8360, 1.3482, 6.8187)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1A4B #4B400F
analogous
#0F384B #0F1A4B #220F4B
triadic
#0F1A4B #4B0F1A #1A4B0F
tetradic
#0F1A4B #4B0F38 #4B400F #0F4B22
square
#0F1A4B #4B0F38 #4B400F #0F4B22
split-complementary
#0F1A4B #4B220F #384B0F
monochromatic
#05091A #05091A #0F1A4B #192C7E #233DB1

Accessibility & contrast

On white

16.54
#0F1A4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1A4B
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1A4B#FFFFFF#000000##FFFFFF
##0F1A4B1.0016.541.2716.54
#FFFFFF16.541.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224D
Deuteranopia (green-blind)
#001C4A
Tritanopia (blue-blind)
#00262F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #0f1a4b;
/* rgb */ color: rgb(15, 26, 75);
/* oklch */ color: oklch(24.4% 0.092 268.9);
Tailwind
colors: {
  custom: {
    50: '#58567e',
    500: '#0f1a4b',
    950: '#000000',
  },
}
SCSS
$custom: #0f1a4b;
$custom-light: #58567e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1a4b",
  "rgb": {
    "r": 15,
    "g": 26,
    "b": 75
  },
  "hsl": {
    "h": 229,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.24381,
    "c": 0.09184,
    "h": 268.9
  },
  "luminance": 0.01348
}

Semantic roles & 50–950 ramp

primary
#0F1A4B
secondary
#857630
accent
#CA3EEA
background
#F5F5F7
surface
#E9E8EE
border
#C5C4C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0F1A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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