#0F1460#0F1460

#0F1460 is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.5% C 0.130 H 270.0°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#0F1460
RGBrgb(15, 20, 96)
HSLhsl(236, 73%, 22%)
HSVhsv(236, 84%, 38%)
CMYKcmyk(84.4%, 79.2%, 0%, 62.4%)
CIE-LABlab(12.26, 28.02, -45.01)
CIE-LCHlch(12.26, 53.02, 301.90°)
OKLaboklab(25.54% 0.0001 -0.1304)
OKLCHoklch(25.54% 0.13 270)
XYZxyz(2.5578, 1.4461, 11.2084)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1460 #605B0F
analogous
#0F3D60 #0F1460 #330F60
triadic
#0F1460 #600F14 #14600F
tetradic
#0F1460 #600F3D #605B0F #0F6033
square
#0F1460 #600F3D #605B0F #0F6033
split-complementary
#0F1460 #60330F #3D600F
monochromatic
#04061A #07092B #0F1460 #171F95 #202ACA

Accessibility & contrast

On white

16.29
#0F1460 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#0F1460 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1460
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1460#FFFFFF#000000##FFFFFF
##0F14601.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f1460;
/* rgb */ color: rgb(15, 20, 96);
/* oklch */ color: oklch(25.5% 0.130 270.0);
Tailwind
colors: {
  custom: {
    50: '#5f528e',
    500: '#0f1460',
    950: '#000000',
  },
}
SCSS
$custom: #0f1460;
$custom-light: #5f528e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1460",
  "rgb": {
    "r": 15,
    "g": 20,
    "b": 96
  },
  "hsl": {
    "h": 236.296,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.25538,
    "c": 0.13036,
    "h": 270
  },
  "luminance": 0.01446
}

Semantic roles & 50–950 ramp

primary
#0F1460
secondary
#999332
accent
#E438F0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #0F1460

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

Preview Lab → · Contrast checker → · Palette generator →

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