#0F1541#0F1541

#0F1541 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.3% C 0.083 H 271.9°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#0F1541
RGBrgb(15, 21, 65)
HSLhsl(233, 63%, 16%)
HSVhsv(233, 77%, 25%)
CMYKcmyk(76.9%, 67.7%, 0%, 74.5%)
CIE-LABlab(9.15, 14.70, -28.83)
CIE-LCHlch(9.15, 32.36, 297.02°)
OKLaboklab(22.26% 0.0027 -0.0831)
OKLCHoklch(22.26% 0.083 271.9)
XYZxyz(1.4190, 1.0194, 5.1220)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1541 #413B0F
analogous
#0F2E41 #0F1541 #220F41
triadic
#0F1541 #410F15 #15410F
tetradic
#0F1541 #410F2E #413B0F #0F4122
square
#0F1541 #410F2E #413B0F #0F4122
split-complementary
#0F1541 #41220F #2E410F
monochromatic
#060819 #060819 #0F1541 #1A2573 #2635A4

Accessibility & contrast

On white

17.44
#0F1541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#0F1541 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1541
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1541#FFFFFF#000000##FFFFFF
##0F15411.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C42
Deuteranopia (green-blind)
#001840
Tritanopia (blue-blind)
#002028
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0f1541;
/* rgb */ color: rgb(15, 21, 65);
/* oklch */ color: oklch(22.3% 0.083 271.9);
Tailwind
colors: {
  custom: {
    50: '#555276',
    500: '#0f1541',
    950: '#000000',
  },
}
SCSS
$custom: #0f1541;
$custom-light: #555276;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1541",
  "rgb": {
    "r": 15,
    "g": 21,
    "b": 65
  },
  "hsl": {
    "h": 232.8,
    "s": 62.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.22261,
    "c": 0.08314,
    "h": 271.9
  },
  "luminance": 0.0102
}

Semantic roles & 50–950 ramp

primary
#0F1541
secondary
#7B7230
accent
#D242E6
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0F1541

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

Preview Lab → · Contrast checker → · Palette generator →

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