#0F073C#0F073C

#0F073C is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.0% C 0.095 H 279.5°. Best body text is #FFFFFF at 18.82:1 contrast (WCAG AA passes).

Color values

HEX#0F073C
RGBrgb(15, 7, 60)
HSLhsl(249, 79%, 13%)
HSVhsv(249, 88%, 24%)
CMYKcmyk(75%, 88.3%, 0%, 76.5%)
CIE-LABlab(5.24, 21.16, -31.64)
CIE-LCHlch(5.24, 38.07, 303.77°)
OKLaboklab(18.98% 0.0156 -0.0933)
OKLCHoklch(18.98% 0.095 279.5)
XYZxyz(1.0883, 0.5797, 4.3286)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F073C #343C07
analogous
#07193C #0F073C #29073C
triadic
#0F073C #3C0F07 #073C0F
tetradic
#0F073C #3C0719 #343C07 #073C29
square
#0F073C #3C0719 #343C07 #073C29
split-complementary
#0F073C #3C2907 #193C07
monochromatic
#07031B #07031B #0F073C #1D0D73 #2A14AA

Accessibility & contrast

On white

18.82
#0F073C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#0F073C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F073C
18.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F073C#FFFFFF#000000##FFFFFF
##0F073C1.0018.821.1218.82
#FFFFFF18.821.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133E
Deuteranopia (green-blind)
#000F3B
Tritanopia (blue-blind)
#001621
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0f073c;
/* rgb */ color: rgb(15, 7, 60);
/* oklch */ color: oklch(19.0% 0.095 279.5);
Tailwind
colors: {
  custom: {
    50: '#554972',
    500: '#0f073c',
    950: '#000000',
  },
}
SCSS
$custom: #0f073c;
$custom-light: #554972;
$custom-dark: #000000;
JSON
{
  "hex": "#0f073c",
  "rgb": {
    "r": 15,
    "g": 7,
    "b": 60
  },
  "hsl": {
    "h": 249.057,
    "s": 79.104,
    "l": 13.137
  },
  "oklch": {
    "l": 0.18977,
    "c": 0.09464,
    "h": 279.5
  },
  "luminance": 0.0058
}

Semantic roles & 50–950 ramp

primary
#0F073C
secondary
#6E7B23
accent
#F632D8
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #0F073C

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

Preview Lab → · Contrast checker → · Palette generator →

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