#0F073D#0F073D

#0F073D is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.1% C 0.096 H 279.1°. Best body text is #FFFFFF at 18.78:1 contrast (WCAG AA passes).

Color values

HEX#0F073D
RGBrgb(15, 7, 61)
HSLhsl(249, 79%, 13%)
HSVhsv(249, 89%, 24%)
CMYKcmyk(75.4%, 88.5%, 0%, 76.1%)
CIE-LABlab(5.33, 21.66, -32.21)
CIE-LCHlch(5.33, 38.82, 303.92°)
OKLaboklab(19.1% 0.0153 -0.0948)
OKLCHoklch(19.1% 0.096 279.1)
XYZxyz(1.1150, 0.5903, 4.4692)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F073D #353D07
analogous
#071A3D #0F073D #2A073D
triadic
#0F073D #3D0F07 #073D0F
tetradic
#0F073D #3D071A #353D07 #073D2A
square
#0F073D #3D071A #353D07 #073D2A
split-complementary
#0F073D #3D2A07 #1A3D07
monochromatic
#07031B #07031B #0F073D #1C0D74 #2A14AB

Accessibility & contrast

On white

18.78
#0F073D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F073D
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F073D#FFFFFF#000000##FFFFFF
##0F073D1.0018.781.1218.78
#FFFFFF18.781.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143F
Deuteranopia (green-blind)
#00103C
Tritanopia (blue-blind)
#001722
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0f073d;
/* rgb */ color: rgb(15, 7, 61);
/* oklch */ color: oklch(19.1% 0.096 279.1);
Tailwind
colors: {
  custom: {
    50: '#554973',
    500: '#0f073d',
    950: '#000000',
  },
}
SCSS
$custom: #0f073d;
$custom-light: #554973;
$custom-dark: #000000;
JSON
{
  "hex": "#0f073d",
  "rgb": {
    "r": 15,
    "g": 7,
    "b": 61
  },
  "hsl": {
    "h": 248.889,
    "s": 79.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.19104,
    "c": 0.09606,
    "h": 279.1
  },
  "luminance": 0.0059
}

Semantic roles & 50–950 ramp

primary
#0F073D
secondary
#6F7C23
accent
#F632D9
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #0F073D

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

Preview Lab → · Contrast checker → · Palette generator →

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