#0F1548#0F1548

#0F1548 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.0% C 0.094 H 271.5°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#0F1548
RGBrgb(15, 21, 72)
HSLhsl(234, 66%, 17%)
HSVhsv(234, 79%, 28%)
CMYKcmyk(79.2%, 70.8%, 0%, 71.8%)
CIE-LABlab(9.84, 17.67, -32.62)
CIE-LCHlch(9.84, 37.10, 298.44°)
OKLaboklab(22.98% 0.0025 -0.0942)
OKLCHoklch(22.98% 0.094 271.5)
XYZxyz(1.6345, 1.1056, 6.2569)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1548 #48420F
analogous
#0F3248 #0F1548 #260F48
triadic
#0F1548 #480F15 #15480F
tetradic
#0F1548 #480F32 #48420F #0F4826
square
#0F1548 #480F32 #48420F #0F4826
split-complementary
#0F1548 #48260F #32480F
monochromatic
#050719 #050719 #0F1548 #1A247B #2433AD

Accessibility & contrast

On white

17.20
#0F1548 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#0F1548 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1548
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1548#FFFFFF#000000##FFFFFF
##0F15481.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4A
Deuteranopia (green-blind)
#001947
Tritanopia (blue-blind)
#00222C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0f1548;
/* rgb */ color: rgb(15, 21, 72);
/* oklch */ color: oklch(23.0% 0.094 271.5);
Tailwind
colors: {
  custom: {
    50: '#57527c',
    500: '#0f1548',
    950: '#000000',
  },
}
SCSS
$custom: #0f1548;
$custom-light: #57527c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1548",
  "rgb": {
    "r": 15,
    "g": 21,
    "b": 72
  },
  "hsl": {
    "h": 233.684,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.22984,
    "c": 0.09426,
    "h": 271.5
  },
  "luminance": 0.01106
}

Semantic roles & 50–950 ramp

primary
#0F1548
secondary
#827A30
accent
#D73FE8
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040209
muted
#79787B

Preview Lab

Preview with #0F1548

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

Preview Lab → · Contrast checker → · Palette generator →

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