#0F1B4E#0F1B4E

#0F1B4E is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.9% C 0.095 H 268.4°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#0F1B4E
RGBrgb(15, 27, 78)
HSLhsl(229, 68%, 18%)
HSVhsv(229, 81%, 31%)
CMYKcmyk(80.8%, 65.4%, 0%, 69.4%)
CIE-LABlab(12.19, 15.68, -32.94)
CIE-LCHlch(12.19, 36.48, 295.46°)
OKLaboklab(24.9% -0.0027 -0.0951)
OKLCHoklch(24.9% 0.095 268.4)
XYZxyz(1.9636, 1.4353, 7.3798)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1B4E #4E420F
analogous
#0F3A4E #0F1B4E #220F4E
triadic
#0F1B4E #4E0F1B #1B4E0F
tetradic
#0F1B4E #4E0F3A #4E420F #0F4E22
square
#0F1B4E #4E0F3A #4E420F #0F4E22
split-complementary
#0F1B4E #4E220F #3A4E0F
monochromatic
#05091A #05091B #0F1B4E #192D81 #233FB5

Accessibility & contrast

On white

16.32
#0F1B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#0F1B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1B4E
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1B4E#FFFFFF#000000##FFFFFF
##0F1B4E1.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002350
Deuteranopia (green-blind)
#001D4D
Tritanopia (blue-blind)
#002831
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0f1b4e;
/* rgb */ color: rgb(15, 27, 78);
/* oklch */ color: oklch(24.9% 0.095 268.4);
Tailwind
colors: {
  custom: {
    50: '#585780',
    500: '#0f1b4e',
    950: '#000000',
  },
}
SCSS
$custom: #0f1b4e;
$custom-light: #585780;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1b4e",
  "rgb": {
    "r": 15,
    "g": 27,
    "b": 78
  },
  "hsl": {
    "h": 228.571,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.24902,
    "c": 0.09512,
    "h": 268.4
  },
  "luminance": 0.01435
}

Semantic roles & 50–950 ramp

primary
#0F1B4E
secondary
#887831
accent
#CA3DEB
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0F1B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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