#0F1556#0F1556

#0F1556 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.5% C 0.115 H 270.5°. Best body text is #FFFFFF at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#0F1556
RGBrgb(15, 21, 86)
HSLhsl(235, 70%, 20%)
HSVhsv(235, 83%, 34%)
CMYKcmyk(82.6%, 75.6%, 0%, 66.3%)
CIE-LABlab(11.34, 23.43, -39.79)
CIE-LCHlch(11.34, 46.18, 300.49°)
OKLaboklab(24.53% 0.0011 -0.1152)
OKLCHoklch(24.53% 0.115 270.5)
XYZxyz(2.1443, 1.3095, 8.9420)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1556 #56500F
analogous
#0F3856 #0F1556 #2D0F56
triadic
#0F1556 #560F15 #15560F
tetradic
#0F1556 #560F38 #56500F #0F562D
square
#0F1556 #560F38 #56500F #0F562D
split-complementary
#0F1556 #562D0F #38560F
monochromatic
#05061A #060822 #0F1556 #18228A #212EBE

Accessibility & contrast

On white

16.64
#0F1556 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#0F1556 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1556
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1556#FFFFFF#000000##FFFFFF
##0F15561.0016.641.2616.64
#FFFFFF16.641.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002258
Deuteranopia (green-blind)
#001B55
Tritanopia (blue-blind)
#002733
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0f1556;
/* rgb */ color: rgb(15, 21, 86);
/* oklch */ color: oklch(24.5% 0.115 270.5);
Tailwind
colors: {
  custom: {
    50: '#5b5286',
    500: '#0f1556',
    950: '#000000',
  },
}
SCSS
$custom: #0f1556;
$custom-light: #5b5286;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1556",
  "rgb": {
    "r": 15,
    "g": 21,
    "b": 86
  },
  "hsl": {
    "h": 234.93,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.24533,
    "c": 0.1152,
    "h": 270.5
  },
  "luminance": 0.0131
}

Semantic roles & 50–950 ramp

primary
#0F1556
secondary
#908831
accent
#DE3BED
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #0F1556

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

Preview Lab → · Contrast checker → · Palette generator →

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