#0F1354#0F1354

#0F1354 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.9% C 0.115 H 271.2°. Best body text is #FFFFFF at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#0F1354
RGBrgb(15, 19, 84)
HSLhsl(237, 70%, 19%)
HSVhsv(237, 82%, 33%)
CMYKcmyk(82.1%, 77.4%, 0%, 67.1%)
CIE-LABlab(10.61, 24.02, -39.64)
CIE-LCHlch(10.61, 46.34, 301.21°)
OKLaboklab(23.94% 0.0025 -0.1147)
OKLCHoklch(23.94% 0.115 271.2)
XYZxyz(2.0296, 1.2072, 8.5118)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1354 #54500F
analogous
#0F3654 #0F1354 #2E0F54
triadic
#0F1354 #540F13 #13540F
tetradic
#0F1354 #540F36 #54500F #0F542E
square
#0F1354 #540F36 #54500F #0F542E
split-complementary
#0F1354 #542E0F #36540F
monochromatic
#05061A #060720 #0F1354 #181F88 #222ABC

Accessibility & contrast

On white

16.92
#0F1354 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#0F1354 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1354
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1354#FFFFFF#000000##FFFFFF
##0F13541.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002056
Deuteranopia (green-blind)
#001953
Tritanopia (blue-blind)
#002532
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0f1354;
/* rgb */ color: rgb(15, 19, 84);
/* oklch */ color: oklch(23.9% 0.115 271.2);
Tailwind
colors: {
  custom: {
    50: '#5b5185',
    500: '#0f1354',
    950: '#000000',
  },
}
SCSS
$custom: #0f1354;
$custom-light: #5b5185;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1354",
  "rgb": {
    "r": 15,
    "g": 19,
    "b": 84
  },
  "hsl": {
    "h": 236.522,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.23937,
    "c": 0.11476,
    "h": 271.2
  },
  "luminance": 0.01207
}

Semantic roles & 50–950 ramp

primary
#0F1354
secondary
#8E8931
accent
#E23BED
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0F1354

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

Preview Lab → · Contrast checker → · Palette generator →

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