#0F0B35#0F0B35

#0F0B35 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.9% C 0.079 H 280.0°. Best body text is #FFFFFF at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#0F0B35
RGBrgb(15, 11, 53)
HSLhsl(246, 66%, 13%)
HSVhsv(246, 79%, 21%)
CMYKcmyk(71.7%, 79.2%, 0%, 79.2%)
CIE-LABlab(5.40, 15.80, -26.28)
CIE-LCHlch(5.40, 30.67, 301.02°)
OKLaboklab(18.88% 0.0137 -0.0774)
OKLCHoklch(18.88% 0.079 280)
XYZxyz(0.9591, 0.5979, 3.4323)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0B35 #31350B
analogous
#0B1C35 #0F0B35 #240B35
triadic
#0F0B35 #350F0B #0B350F
tetradic
#0F0B35 #350B1C #31350B #0B3524
square
#0F0B35 #350B1C #31350B #0B3524
split-complementary
#0F0B35 #35240B #1C350B
monochromatic
#070519 #070519 #0F0B35 #1D1668 #2C209A

Accessibility & contrast

On white

18.76
#0F0B35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#0F0B35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0B35
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0B35#FFFFFF#000000##FFFFFF
##0F0B351.0018.761.1218.76
#FFFFFF18.761.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001336
Deuteranopia (green-blind)
#001034
Tritanopia (blue-blind)
#00161E
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0f0b35;
/* rgb */ color: rgb(15, 11, 53);
/* oklch */ color: oklch(18.9% 0.079 280.0);
Tailwind
colors: {
  custom: {
    50: '#524b6d',
    500: '#0f0b35',
    950: '#000000',
  },
}
SCSS
$custom: #0f0b35;
$custom-light: #524b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0b35",
  "rgb": {
    "r": 15,
    "g": 11,
    "b": 53
  },
  "hsl": {
    "h": 245.714,
    "s": 65.625,
    "l": 12.549
  },
  "oklch": {
    "l": 0.18882,
    "c": 0.07864,
    "h": 280
  },
  "luminance": 0.00598
}

Semantic roles & 50–950 ramp

primary
#0F0B35
secondary
#6B722A
accent
#E93FD8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020107
muted
#78777A

Preview Lab

Preview with #0F0B35

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

Preview Lab → · Contrast checker → · Palette generator →

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