#0F1554#0F1554

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

Color values

HEX#0F1554
RGBrgb(15, 21, 84)
HSLhsl(235, 70%, 19%)
HSVhsv(235, 82%, 33%)
CMYKcmyk(82.1%, 75%, 0%, 67.1%)
CIE-LABlab(11.12, 22.62, -38.80)
CIE-LCHlch(11.12, 44.91, 300.25°)
OKLaboklab(24.3% 0.0013 -0.1123)
OKLCHoklch(24.3% 0.112 270.7)
XYZxyz(2.0649, 1.2778, 8.5236)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1554 #544E0F
analogous
#0F3854 #0F1554 #2C0F54
triadic
#0F1554 #540F15 #15540F
tetradic
#0F1554 #540F38 #544E0F #0F542C
square
#0F1554 #540F38 #544E0F #0F542C
split-complementary
#0F1554 #542C0F #38540F
monochromatic
#05061A #060820 #0F1554 #182288 #222FBC

Accessibility & contrast

On white

16.73
#0F1554 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1554
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1554#FFFFFF#000000##FFFFFF
##0F15541.0016.731.2616.73
#FFFFFF16.731.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002156
Deuteranopia (green-blind)
#001A53
Tritanopia (blue-blind)
#002632
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0f1554;
/* rgb */ color: rgb(15, 21, 84);
/* oklch */ color: oklch(24.3% 0.112 270.7);
Tailwind
colors: {
  custom: {
    50: '#5b5285',
    500: '#0f1554',
    950: '#000000',
  },
}
SCSS
$custom: #0f1554;
$custom-light: #5b5285;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1554",
  "rgb": {
    "r": 15,
    "g": 21,
    "b": 84
  },
  "hsl": {
    "h": 234.783,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.24304,
    "c": 0.1123,
    "h": 270.7
  },
  "luminance": 0.01278
}

Semantic roles & 50–950 ramp

primary
#0F1554
secondary
#8E8631
accent
#DD3BED
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0F1554

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

Preview Lab → · Contrast checker → · Palette generator →

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