#0F1049#0F1049

#0F1049 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.1% C 0.102 H 273.4°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#0F1049
RGBrgb(15, 16, 73)
HSLhsl(239, 66%, 17%)
HSVhsv(239, 79%, 29%)
CMYKcmyk(79.5%, 78.1%, 0%, 71.4%)
CIE-LABlab(8.59, 21.72, -35.37)
CIE-LCHlch(8.59, 41.51, 301.56°)
OKLaboklab(22.11% 0.0061 -0.1023)
OKLCHoklch(22.11% 0.102 273.4)
XYZxyz(1.5845, 0.9530, 6.4025)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1049 #49480F
analogous
#0F2D49 #0F1049 #2B0F49
triadic
#0F1049 #490F10 #10490F
tetradic
#0F1049 #490F2D #49480F #0F492B
square
#0F1049 #490F2D #49480F #0F492B
split-complementary
#0F1049 #492B0F #2D490F
monochromatic
#050619 #050619 #0F1049 #191B7C #2426AF

Accessibility & contrast

On white

17.64
#0F1049 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1049
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1049#FFFFFF#000000##FFFFFF
##0F10491.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4B
Deuteranopia (green-blind)
#001648
Tritanopia (blue-blind)
#00202B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0f1049;
/* rgb */ color: rgb(15, 16, 73);
/* oklch */ color: oklch(22.1% 0.102 273.4);
Tailwind
colors: {
  custom: {
    50: '#584e7c',
    500: '#0f1049',
    950: '#000000',
  },
}
SCSS
$custom: #0f1049;
$custom-light: #584e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1049",
  "rgb": {
    "r": 15,
    "g": 16,
    "b": 73
  },
  "hsl": {
    "h": 238.966,
    "s": 65.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.2211,
    "c": 0.10246,
    "h": 273.4
  },
  "luminance": 0.00953
}

Semantic roles & 50–950 ramp

primary
#0F1049
secondary
#838230
accent
#E63FE9
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0F1049

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

Preview Lab → · Contrast checker → · Palette generator →

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