#0F073A#0F073A

#0F073A is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.7% C 0.092 H 280.2°. Best body text is #FFFFFF at 18.89:1 contrast (WCAG AA passes).

Color values

HEX#0F073A
RGBrgb(15, 7, 58)
HSLhsl(249, 78%, 13%)
HSVhsv(249, 88%, 23%)
CMYKcmyk(74.1%, 87.9%, 0%, 77.3%)
CIE-LABlab(5.05, 20.15, -30.50)
CIE-LCHlch(5.05, 36.56, 303.45°)
OKLaboklab(18.73% 0.0162 -0.0903)
OKLCHoklch(18.73% 0.092 280.2)
XYZxyz(1.0365, 0.5589, 4.0554)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F073A #323A07
analogous
#07183A #0F073A #28073A
triadic
#0F073A #3A0F07 #073A0F
tetradic
#0F073A #3A0718 #323A07 #073A28
square
#0F073A #3A0718 #323A07 #073A28
split-complementary
#0F073A #3A2807 #183A07
monochromatic
#07031B #07031B #0F073A #1D0E71 #2B14A7

Accessibility & contrast

On white

18.89
#0F073A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#0F073A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F073A
18.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F073A#FFFFFF#000000##FFFFFF
##0F073A1.0018.891.1118.89
#FFFFFF18.891.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133B
Deuteranopia (green-blind)
#000F39
Tritanopia (blue-blind)
#001620
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0f073a;
/* rgb */ color: rgb(15, 7, 58);
/* oklch */ color: oklch(18.7% 0.092 280.2);
Tailwind
colors: {
  custom: {
    50: '#544971',
    500: '#0f073a',
    950: '#000000',
  },
}
SCSS
$custom: #0f073a;
$custom-light: #544971;
$custom-dark: #000000;
JSON
{
  "hex": "#0f073a",
  "rgb": {
    "r": 15,
    "g": 7,
    "b": 58
  },
  "hsl": {
    "h": 249.412,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.18726,
    "c": 0.09178,
    "h": 280.2
  },
  "luminance": 0.00559
}

Semantic roles & 50–950 ramp

primary
#0F073A
secondary
#6C7923
accent
#F533D7
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #0F073A

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

Preview Lab → · Contrast checker → · Palette generator →

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