#0F0F49#0F0F49

#0F0F49 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.9% C 0.104 H 273.8°. Best body text is #FFFFFF at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#0F0F49
RGBrgb(15, 15, 73)
HSLhsl(240, 66%, 17%)
HSVhsv(240, 79%, 29%)
CMYKcmyk(79.5%, 79.5%, 0%, 71.4%)
CIE-LABlab(8.34, 22.41, -35.78)
CIE-LCHlch(8.34, 42.22, 302.06°)
OKLaboklab(21.93% 0.0068 -0.1035)
OKLCHoklch(21.93% 0.104 273.8)
XYZxyz(1.5700, 0.9241, 6.3977)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0F49 #49490F
analogous
#0F2C49 #0F0F49 #2C0F49
triadic
#0F0F49 #490F0F #0F490F
tetradic
#0F0F49 #490F2C #49490F #0F492C
square
#0F0F49 #490F2C #49490F #0F492C
split-complementary
#0F0F49 #492C0F #2C490F
monochromatic
#050519 #050519 #0F0F49 #19197C #2424AF

Accessibility & contrast

On white

17.72
#0F0F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0F49
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0F49#FFFFFF#000000##FFFFFF
##0F0F491.0017.721.1817.72
#FFFFFF17.721.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4B
Deuteranopia (green-blind)
#001548
Tritanopia (blue-blind)
#001F2A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0f0f49;
/* rgb */ color: rgb(15, 15, 73);
/* oklch */ color: oklch(21.9% 0.104 273.8);
Tailwind
colors: {
  custom: {
    50: '#584d7c',
    500: '#0f0f49',
    950: '#000000',
  },
}
SCSS
$custom: #0f0f49;
$custom-light: #584d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0f49",
  "rgb": {
    "r": 15,
    "g": 15,
    "b": 73
  },
  "hsl": {
    "h": 240,
    "s": 65.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.2193,
    "c": 0.1037,
    "h": 273.8
  },
  "luminance": 0.00924
}

Semantic roles & 50–950 ramp

primary
#0F0F49
secondary
#838330
accent
#E93FE9
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0F0F49

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

Preview Lab → · Contrast checker → · Palette generator →

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