#0F074E#0F074E

#0F074E is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.3% C 0.119 H 274.6°. Best body text is #FFFFFF at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#0F074E
RGBrgb(15, 7, 78)
HSLhsl(247, 84%, 17%)
HSVhsv(247, 91%, 31%)
CMYKcmyk(80.8%, 91%, 0%, 69.4%)
CIE-LABlab(7.26, 29.16, -41.06)
CIE-LCHlch(7.26, 50.36, 305.38°)
OKLaboklab(21.34% 0.0096 -0.1188)
OKLCHoklch(21.34% 0.119 274.6)
XYZxyz(1.6477, 0.8034, 7.2745)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F074E #464E07
analogous
#07234E #0F074E #33074E
triadic
#0F074E #4E0F07 #074E0F
tetradic
#0F074E #4E0723 #464E07 #074E33
square
#0F074E #4E0723 #464E07 #074E33
split-complementary
#0F074E #4E3307 #234E07
monochromatic
#05031C #05031C #0F074E #1A0C86 #2511BE

Accessibility & contrast

On white

18.09
#0F074E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0F074E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F074E
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F074E#FFFFFF#000000##FFFFFF
##0F074E1.0018.091.1618.09
#FFFFFF18.091.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001950
Deuteranopia (green-blind)
#00134D
Tritanopia (blue-blind)
#001E2B
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0f074e;
/* rgb */ color: rgb(15, 7, 78);
/* oklch */ color: oklch(21.3% 0.119 274.6);
Tailwind
colors: {
  custom: {
    50: '#5b4981',
    500: '#0f074e',
    950: '#000000',
  },
}
SCSS
$custom: #0f074e;
$custom-light: #5b4981;
$custom-dark: #000000;
JSON
{
  "hex": "#0f074e",
  "rgb": {
    "r": 15,
    "g": 7,
    "b": 78
  },
  "hsl": {
    "h": 246.761,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.21338,
    "c": 0.11921,
    "h": 274.6
  },
  "luminance": 0.00804
}

Semantic roles & 50–950 ramp

primary
#0F074E
secondary
#808C25
accent
#FA2EE3
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0F074E

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

Preview Lab → · Contrast checker → · Palette generator →

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