#0F0B40#0F0B40

#0F0B40 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.2% C 0.095 H 276.9°. Best body text is #FFFFFF at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#0F0B40
RGBrgb(15, 11, 64)
HSLhsl(245, 71%, 15%)
HSVhsv(245, 83%, 25%)
CMYKcmyk(76.6%, 82.8%, 0%, 74.9%)
CIE-LABlab(6.42, 21.11, -32.58)
CIE-LCHlch(6.42, 38.83, 302.94°)
OKLaboklab(20.16% 0.0114 -0.0947)
OKLCHoklch(20.16% 0.095 276.9)
XYZxyz(1.2418, 0.7110, 4.9213)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0B40 #3C400B
analogous
#0B2240 #0F0B40 #2A0B40
triadic
#0F0B40 #400F0B #0B400F
tetradic
#0F0B40 #400B22 #3C400B #0B402A
square
#0F0B40 #400B22 #3C400B #0B402A
split-complementary
#0F0B40 #402A0B #22400B
monochromatic
#06041A #06041A #0F0B40 #1B1474 #271DA8

Accessibility & contrast

On white

18.39
#0F0B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#0F0B40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0B40
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0B40#FFFFFF#000000##FFFFFF
##0F0B401.0018.391.1418.39
#FFFFFF18.391.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001642
Deuteranopia (green-blind)
#00123F
Tritanopia (blue-blind)
#001A24
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0f0b40;
/* rgb */ color: rgb(15, 11, 64);
/* oklch */ color: oklch(20.2% 0.095 276.9);
Tailwind
colors: {
  custom: {
    50: '#564b75',
    500: '#0f0b40',
    950: '#000000',
  },
}
SCSS
$custom: #0f0b40;
$custom-light: #564b75;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0b40",
  "rgb": {
    "r": 15,
    "g": 11,
    "b": 64
  },
  "hsl": {
    "h": 244.528,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.20159,
    "c": 0.09541,
    "h": 276.9
  },
  "luminance": 0.00711
}

Semantic roles & 50–950 ramp

primary
#0F0B40
secondary
#767D2A
accent
#ED3AE0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0F0B40

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

Preview Lab → · Contrast checker → · Palette generator →

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