#0F1048#0F1048

#0F1048 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 22.0% C 0.101 H 273.6°. Best body text is #FFFFFF at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#0F1048
RGBrgb(15, 16, 72)
HSLhsl(239, 66%, 17%)
HSVhsv(239, 79%, 28%)
CMYKcmyk(79.2%, 77.8%, 0%, 71.8%)
CIE-LABlab(8.48, 21.32, -34.86)
CIE-LCHlch(8.48, 40.86, 301.45°)
OKLaboklab(21.99% 0.0063 -0.1008)
OKLCHoklch(21.99% 0.101 273.6)
XYZxyz(1.5516, 0.9399, 6.2293)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1048 #48470F
analogous
#0F2D48 #0F1048 #2B0F48
triadic
#0F1048 #480F10 #10480F
tetradic
#0F1048 #480F2D #48470F #0F482B
square
#0F1048 #480F2D #48470F #0F482B
split-complementary
#0F1048 #482B0F #2D480F
monochromatic
#050619 #050619 #0F1048 #1A1B7B #2427AD

Accessibility & contrast

On white

17.68
#0F1048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#0F1048 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1048
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1048#FFFFFF#000000##FFFFFF
##0F10481.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4A
Deuteranopia (green-blind)
#001647
Tritanopia (blue-blind)
#001F2A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0f1048;
/* rgb */ color: rgb(15, 16, 72);
/* oklch */ color: oklch(22.0% 0.101 273.6);
Tailwind
colors: {
  custom: {
    50: '#584e7c',
    500: '#0f1048',
    950: '#000000',
  },
}
SCSS
$custom: #0f1048;
$custom-light: #584e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1048",
  "rgb": {
    "r": 15,
    "g": 16,
    "b": 72
  },
  "hsl": {
    "h": 238.947,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.21994,
    "c": 0.10099,
    "h": 273.6
  },
  "luminance": 0.0094
}

Semantic roles & 50–950 ramp

primary
#0F1048
secondary
#828130
accent
#E63FE8
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0F1048

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

Preview Lab → · Contrast checker → · Palette generator →

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