#0F1148#0F1148

#0F1148 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.2% C 0.100 H 273.2°. Best body text is #FFFFFF at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#0F1148
RGBrgb(15, 17, 72)
HSLhsl(238, 66%, 17%)
HSVhsv(238, 79%, 28%)
CMYKcmyk(79.2%, 76.4%, 0%, 71.8%)
CIE-LABlab(8.74, 20.61, -34.43)
CIE-LCHlch(8.74, 40.13, 300.91°)
OKLaboklab(22.18% 0.0056 -0.0995)
OKLCHoklch(22.18% 0.1 273.2)
XYZxyz(1.5668, 0.9702, 6.2343)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1148 #48460F
analogous
#0F2E48 #0F1148 #2A0F48
triadic
#0F1148 #480F11 #11480F
tetradic
#0F1148 #480F2E #48460F #0F482A
square
#0F1148 #480F2E #48460F #0F482A
split-complementary
#0F1148 #482A0F #2E480F
monochromatic
#050619 #050619 #0F1148 #1A1D7B #2429AD

Accessibility & contrast

On white

17.59
#0F1148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1148
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1148#FFFFFF#000000##FFFFFF
##0F11481.0017.591.1917.59
#FFFFFF17.591.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4A
Deuteranopia (green-blind)
#001647
Tritanopia (blue-blind)
#00202A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0f1148;
/* rgb */ color: rgb(15, 17, 72);
/* oklch */ color: oklch(22.2% 0.100 273.2);
Tailwind
colors: {
  custom: {
    50: '#584f7c',
    500: '#0f1148',
    950: '#000000',
  },
}
SCSS
$custom: #0f1148;
$custom-light: #584f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1148",
  "rgb": {
    "r": 15,
    "g": 17,
    "b": 72
  },
  "hsl": {
    "h": 237.895,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.22182,
    "c": 0.0997,
    "h": 273.2
  },
  "luminance": 0.0097
}

Semantic roles & 50–950 ramp

primary
#0F1148
secondary
#828030
accent
#E33FE8
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040209
muted
#79787B

Preview Lab

Preview with #0F1148

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

Preview Lab → · Contrast checker → · Palette generator →

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