#0F0738#0F0738

#0F0738 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.5% C 0.089 H 280.9°. Best body text is #FFFFFF at 18.96:1 contrast (WCAG AA passes).

Color values

HEX#0F0738
RGBrgb(15, 7, 56)
HSLhsl(250, 78%, 12%)
HSVhsv(250, 88%, 22%)
CMYKcmyk(73.2%, 87.5%, 0%, 78%)
CIE-LABlab(4.87, 19.12, -29.34)
CIE-LCHlch(4.87, 35.02, 303.09°)
OKLaboklab(18.48% 0.0168 -0.0873)
OKLCHoklch(18.48% 0.089 280.9)
XYZxyz(0.9866, 0.5390, 3.7927)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0738 #303807
analogous
#071838 #0F0738 #280738
triadic
#0F0738 #380F07 #07380F
tetradic
#0F0738 #380718 #303807 #073828
square
#0F0738 #380718 #303807 #073828
split-complementary
#0F0738 #382807 #183807
monochromatic
#07031B #07031B #0F0738 #1E0E6E #2C15A5

Accessibility & contrast

On white

18.96
#0F0738 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0738
18.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0738#FFFFFF#000000##FFFFFF
##0F07381.0018.961.1118.96
#FFFFFF18.961.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001239
Deuteranopia (green-blind)
#000F37
Tritanopia (blue-blind)
#00151F
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0f0738;
/* rgb */ color: rgb(15, 7, 56);
/* oklch */ color: oklch(18.5% 0.089 280.9);
Tailwind
colors: {
  custom: {
    50: '#53496f',
    500: '#0f0738',
    950: '#000000',
  },
}
SCSS
$custom: #0f0738;
$custom-light: #53496f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0738",
  "rgb": {
    "r": 15,
    "g": 7,
    "b": 56
  },
  "hsl": {
    "h": 249.796,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.18478,
    "c": 0.08889,
    "h": 280.9
  },
  "luminance": 0.00539
}

Semantic roles & 50–950 ramp

primary
#0F0738
secondary
#6A7823
accent
#F434D5
background
#F5F4F6
surface
#E8E6EC
border
#C4C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #0F0738

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

Preview Lab → · Contrast checker → · Palette generator →

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