#0F0F46#0F0F46

#0F0F46 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.6% C 0.099 H 274.2°. Best body text is #FFFFFF at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#0F0F46
RGBrgb(15, 15, 70)
HSLhsl(240, 65%, 17%)
HSVhsv(240, 79%, 27%)
CMYKcmyk(78.6%, 78.6%, 0%, 72.5%)
CIE-LABlab(8.00, 21.22, -34.25)
CIE-LCHlch(8.00, 40.29, 301.78°)
OKLaboklab(21.58% 0.0073 -0.099)
OKLCHoklch(21.58% 0.099 274.2)
XYZxyz(1.4729, 0.8853, 5.8864)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0F46 #46460F
analogous
#0F2B46 #0F0F46 #2B0F46
triadic
#0F0F46 #460F0F #0F460F
tetradic
#0F0F46 #460F2B #46460F #0F462B
square
#0F0F46 #460F2B #46460F #0F462B
split-complementary
#0F0F46 #462B0F #2B460F
monochromatic
#050519 #050519 #0F0F46 #1A1A78 #2525AB

Accessibility & contrast

On white

17.84
#0F0F46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#0F0F46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0F46
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0F46#FFFFFF#000000##FFFFFF
##0F0F461.0017.841.1817.84
#FFFFFF17.841.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A48
Deuteranopia (green-blind)
#001545
Tritanopia (blue-blind)
#001E29
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0f0f46;
/* rgb */ color: rgb(15, 15, 70);
/* oklch */ color: oklch(21.6% 0.099 274.2);
Tailwind
colors: {
  custom: {
    50: '#574d7a',
    500: '#0f0f46',
    950: '#000000',
  },
}
SCSS
$custom: #0f0f46;
$custom-light: #574d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0f46",
  "rgb": {
    "r": 15,
    "g": 15,
    "b": 70
  },
  "hsl": {
    "h": 240,
    "s": 64.706,
    "l": 16.667
  },
  "oklch": {
    "l": 0.21578,
    "c": 0.09928,
    "h": 274.2
  },
  "luminance": 0.00885
}

Semantic roles & 50–950 ramp

primary
#0F0F46
secondary
#808030
accent
#E840E8
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #0F0F46

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

Preview Lab → · Contrast checker → · Palette generator →

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