#0F1456#0F1456

#0F1456 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.3% C 0.116 H 270.8°. Best body text is #FFFFFF at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#0F1456
RGBrgb(15, 20, 86)
HSLhsl(236, 70%, 20%)
HSVhsv(236, 83%, 34%)
CMYKcmyk(82.6%, 76.7%, 0%, 66.3%)
CIE-LABlab(11.09, 24.12, -40.21)
CIE-LCHlch(11.09, 46.89, 300.96°)
OKLaboklab(24.35% 0.0017 -0.1164)
OKLCHoklch(24.35% 0.116 270.8)
XYZxyz(2.1263, 1.2735, 8.9360)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1456 #56510F
analogous
#0F3756 #0F1456 #2E0F56
triadic
#0F1456 #560F14 #14560F
tetradic
#0F1456 #560F37 #56510F #0F562E
square
#0F1456 #560F37 #56510F #0F562E
split-complementary
#0F1456 #562E0F #37560F
monochromatic
#05061A #060822 #0F1456 #18208A #212CBE

Accessibility & contrast

On white

16.74
#0F1456 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#0F1456 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1456
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1456#FFFFFF#000000##FFFFFF
##0F14561.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f1456;
/* rgb */ color: rgb(15, 20, 86);
/* oklch */ color: oklch(24.3% 0.116 270.8);
Tailwind
colors: {
  custom: {
    50: '#5c5286',
    500: '#0f1456',
    950: '#000000',
  },
}
SCSS
$custom: #0f1456;
$custom-light: #5c5286;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1456",
  "rgb": {
    "r": 15,
    "g": 20,
    "b": 86
  },
  "hsl": {
    "h": 235.775,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.2435,
    "c": 0.11641,
    "h": 270.8
  },
  "luminance": 0.01274
}

Semantic roles & 50–950 ramp

primary
#0F1456
secondary
#908931
accent
#E13BED
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #0F1456

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

Preview Lab → · Contrast checker → · Palette generator →

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