#0F1560#0F1560

#0F1560 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.7% C 0.129 H 269.8°. Best body text is #FFFFFF at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#0F1560
RGBrgb(15, 21, 96)
HSLhsl(236, 73%, 22%)
HSVhsv(236, 84%, 38%)
CMYKcmyk(84.4%, 78.1%, 0%, 62.4%)
CIE-LABlab(12.49, 27.37, -44.62)
CIE-LCHlch(12.49, 52.35, 301.52°)
OKLaboklab(25.7% -0.0004 -0.1292)
OKLCHoklch(25.7% 0.129 269.8)
XYZxyz(2.5758, 1.4821, 11.2144)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1560 #605A0F
analogous
#0F3E60 #0F1560 #320F60
triadic
#0F1560 #600F15 #15600F
tetradic
#0F1560 #600F3E #605A0F #0F6032
square
#0F1560 #600F3E #605A0F #0F6032
split-complementary
#0F1560 #60320F #3E600F
monochromatic
#04061A #07092B #0F1560 #172195 #202CCA

Accessibility & contrast

On white

16.20
#0F1560 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#0F1560 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1560
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1560#FFFFFF#000000##FFFFFF
##0F15601.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002462
Deuteranopia (green-blind)
#001C5F
Tritanopia (blue-blind)
#002B39
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0f1560;
/* rgb */ color: rgb(15, 21, 96);
/* oklch */ color: oklch(25.7% 0.129 269.8);
Tailwind
colors: {
  custom: {
    50: '#5e538e',
    500: '#0f1560',
    950: '#000000',
  },
}
SCSS
$custom: #0f1560;
$custom-light: #5e538e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1560",
  "rgb": {
    "r": 15,
    "g": 21,
    "b": 96
  },
  "hsl": {
    "h": 235.556,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.25704,
    "c": 0.12925,
    "h": 269.8
  },
  "luminance": 0.01482
}

Semantic roles & 50–950 ramp

primary
#0F1560
secondary
#999232
accent
#E238F0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #0F1560

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

Preview Lab → · Contrast checker → · Palette generator →

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