#0F0B3A#0F0B3A

#0F0B3A is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.4% C 0.086 H 278.5°. Best body text is #FFFFFF at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#0F0B3A
RGBrgb(15, 11, 58)
HSLhsl(245, 68%, 14%)
HSVhsv(245, 81%, 23%)
CMYKcmyk(74.1%, 81%, 0%, 77.3%)
CIE-LABlab(5.84, 18.28, -29.22)
CIE-LCHlch(5.84, 34.47, 302.03°)
OKLaboklab(19.45% 0.0128 -0.0855)
OKLCHoklch(19.45% 0.086 278.5)
XYZxyz(1.0801, 0.6463, 4.0700)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0B3A #363A0B
analogous
#0B1E3A #0F0B3A #260B3A
triadic
#0F0B3A #3A0F0B #0B3A0F
tetradic
#0F0B3A #3A0B1E #363A0B #0B3A26
square
#0F0B3A #3A0B1E #363A0B #0B3A26
split-complementary
#0F0B3A #3A260B #1E3A0B
monochromatic
#07051A #07051A #0F0B3A #1C156D #2A1FA1

Accessibility & contrast

On white

18.60
#0F0B3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#0F0B3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0B3A
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0B3A#FFFFFF#000000##FFFFFF
##0F0B3A1.0018.601.1318.60
#FFFFFF18.601.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153B
Deuteranopia (green-blind)
#001139
Tritanopia (blue-blind)
#001821
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0f0b3a;
/* rgb */ color: rgb(15, 11, 58);
/* oklch */ color: oklch(19.4% 0.086 278.5);
Tailwind
colors: {
  custom: {
    50: '#544b71',
    500: '#0f0b3a',
    950: '#000000',
  },
}
SCSS
$custom: #0f0b3a;
$custom-light: #544b71;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0b3a",
  "rgb": {
    "r": 15,
    "g": 11,
    "b": 58
  },
  "hsl": {
    "h": 245.106,
    "s": 68.116,
    "l": 13.529
  },
  "oklch": {
    "l": 0.1945,
    "c": 0.08641,
    "h": 278.5
  },
  "luminance": 0.00646
}

Semantic roles & 50–950 ramp

primary
#0F0B3A
secondary
#70772A
accent
#EB3DDC
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #0F0B3A

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

Preview Lab → · Contrast checker → · Palette generator →

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