#0F1B4A#0F1B4A

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

Color values

HEX#0F1B4A
RGBrgb(15, 27, 74)
HSLhsl(228, 66%, 17%)
HSVhsv(228, 80%, 29%)
CMYKcmyk(79.7%, 63.5%, 0%, 71%)
CIE-LABlab(11.82, 13.96, -30.78)
CIE-LCHlch(11.82, 33.80, 294.39°)
OKLaboklab(24.51% -0.0028 -0.0887)
OKLCHoklch(24.51% 0.089 268.2)
XYZxyz(1.8245, 1.3796, 6.6474)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1B4A #4A3E0F
analogous
#0F384A #0F1B4A #210F4A
triadic
#0F1B4A #4A0F1B #1B4A0F
tetradic
#0F1B4A #4A0F38 #4A3E0F #0F4A21
square
#0F1B4A #4A0F38 #4A3E0F #0F4A21
split-complementary
#0F1B4A #4A210F #384A0F
monochromatic
#050919 #050919 #0F1B4A #192E7D #2440B0

Accessibility & contrast

On white

16.46
#0F1B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1B4A
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1B4A#FFFFFF#000000##FFFFFF
##0F1B4A1.0016.461.2816.46
#FFFFFF16.461.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224C
Deuteranopia (green-blind)
#001D49
Tritanopia (blue-blind)
#00272F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #0f1b4a;
/* rgb */ color: rgb(15, 27, 74);
/* oklch */ color: oklch(24.5% 0.089 268.2);
Tailwind
colors: {
  custom: {
    50: '#57567d',
    500: '#0f1b4a',
    950: '#000000',
  },
}
SCSS
$custom: #0f1b4a;
$custom-light: #57567d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1b4a",
  "rgb": {
    "r": 15,
    "g": 27,
    "b": 74
  },
  "hsl": {
    "h": 227.797,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.24511,
    "c": 0.08879,
    "h": 268.2
  },
  "luminance": 0.0138
}

Semantic roles & 50–950 ramp

primary
#0F1B4A
secondary
#847330
accent
#C73FE9
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #0F1B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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