#0F1B4B#0F1B4B

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

Color values

HEX#0F1B4B
RGBrgb(15, 27, 75)
HSLhsl(228, 67%, 18%)
HSVhsv(228, 80%, 29%)
CMYKcmyk(80%, 64%, 0%, 70.6%)
CIE-LABlab(11.91, 14.39, -31.33)
CIE-LCHlch(11.91, 34.47, 294.67°)
OKLaboklab(24.61% -0.0027 -0.0903)
OKLCHoklch(24.61% 0.09 268.3)
XYZxyz(1.8585, 1.3932, 6.8262)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1B4B #4B3F0F
analogous
#0F394B #0F1B4B #210F4B
triadic
#0F1B4B #4B0F1B #1B4B0F
tetradic
#0F1B4B #4B0F39 #4B3F0F #0F4B21
square
#0F1B4B #4B0F39 #4B3F0F #0F4B21
split-complementary
#0F1B4B #4B210F #394B0F
monochromatic
#05091A #05091A #0F1B4B #192D7E #2340B1

Accessibility & contrast

On white

16.42
#0F1B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1B4B
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1B4B#FFFFFF#000000##FFFFFF
##0F1B4B1.0016.421.2816.42
#FFFFFF16.421.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f1b4b;
/* rgb */ color: rgb(15, 27, 75);
/* oklch */ color: oklch(24.6% 0.090 268.3);
Tailwind
colors: {
  custom: {
    50: '#57567e',
    500: '#0f1b4b',
    950: '#000000',
  },
}
SCSS
$custom: #0f1b4b;
$custom-light: #57567e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1b4b",
  "rgb": {
    "r": 15,
    "g": 27,
    "b": 75
  },
  "hsl": {
    "h": 228,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.24608,
    "c": 0.09039,
    "h": 268.3
  },
  "luminance": 0.01393
}

Semantic roles & 50–950 ramp

primary
#0F1B4B
secondary
#857430
accent
#C73EEA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0F1B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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