#0F1455#0F1455

#0F1455 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.2% C 0.115 H 270.9°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#0F1455
RGBrgb(15, 20, 85)
HSLhsl(236, 70%, 20%)
HSVhsv(236, 82%, 33%)
CMYKcmyk(82.4%, 76.5%, 0%, 66.7%)
CIE-LABlab(10.97, 23.72, -39.72)
CIE-LCHlch(10.97, 46.26, 300.85°)
OKLaboklab(24.23% 0.0018 -0.115)
OKLCHoklch(24.23% 0.115 270.9)
XYZxyz(2.0863, 1.2575, 8.7253)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1455 #55500F
analogous
#0F3755 #0F1455 #2D0F55
triadic
#0F1455 #550F14 #14550F
tetradic
#0F1455 #550F37 #55500F #0F552D
square
#0F1455 #550F37 #55500F #0F552D
split-complementary
#0F1455 #552D0F #37550F
monochromatic
#05061A #060821 #0F1455 #182089 #212CBD

Accessibility & contrast

On white

16.78
#0F1455 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1455
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1455#FFFFFF#000000##FFFFFF
##0F14551.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002157
Deuteranopia (green-blind)
#001A54
Tritanopia (blue-blind)
#002632
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0f1455;
/* rgb */ color: rgb(15, 20, 85);
/* oklch */ color: oklch(24.2% 0.115 270.9);
Tailwind
colors: {
  custom: {
    50: '#5b5286',
    500: '#0f1455',
    950: '#000000',
  },
}
SCSS
$custom: #0f1455;
$custom-light: #5b5286;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1455",
  "rgb": {
    "r": 15,
    "g": 20,
    "b": 85
  },
  "hsl": {
    "h": 235.714,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.24234,
    "c": 0.11498,
    "h": 270.9
  },
  "luminance": 0.01258
}

Semantic roles & 50–950 ramp

primary
#0F1455
secondary
#8F8831
accent
#E03BED
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0F1455

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

Preview Lab → · Contrast checker → · Palette generator →

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