#0F0739#0F0739

#0F0739 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.6% C 0.090 H 280.5°. Best body text is #FFFFFF at 18.92:1 contrast (WCAG AA passes).

Color values

HEX#0F0739
RGBrgb(15, 7, 57)
HSLhsl(250, 78%, 13%)
HSVhsv(250, 88%, 22%)
CMYKcmyk(73.7%, 87.7%, 0%, 77.6%)
CIE-LABlab(4.96, 19.64, -29.92)
CIE-LCHlch(4.96, 35.79, 303.28°)
OKLaboklab(18.6% 0.0165 -0.0888)
OKLCHoklch(18.6% 0.09 280.5)
XYZxyz(1.0113, 0.5488, 3.9227)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0739 #313907
analogous
#071839 #0F0739 #280739
triadic
#0F0739 #390F07 #07390F
tetradic
#0F0739 #390718 #313907 #073928
square
#0F0739 #390718 #313907 #073928
split-complementary
#0F0739 #392807 #183907
monochromatic
#07031B #07031B #0F0739 #1D0E70 #2C14A6

Accessibility & contrast

On white

18.92
#0F0739 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0739
18.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0739#FFFFFF#000000##FFFFFF
##0F07391.0018.921.1118.92
#FFFFFF18.921.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00123A
Deuteranopia (green-blind)
#000F38
Tritanopia (blue-blind)
#00151F
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0f0739;
/* rgb */ color: rgb(15, 7, 57);
/* oklch */ color: oklch(18.6% 0.090 280.5);
Tailwind
colors: {
  custom: {
    50: '#534970',
    500: '#0f0739',
    950: '#000000',
  },
}
SCSS
$custom: #0f0739;
$custom-light: #534970;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0739",
  "rgb": {
    "r": 15,
    "g": 7,
    "b": 57
  },
  "hsl": {
    "h": 249.6,
    "s": 78.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.18602,
    "c": 0.09035,
    "h": 280.5
  },
  "luminance": 0.00549
}

Semantic roles & 50–950 ramp

primary
#0F0739
secondary
#6B7923
accent
#F533D6
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #0F0739

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

Preview Lab → · Contrast checker → · Palette generator →

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