#0F0B45#0F0B45

#0F0B45 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.8% C 0.103 H 275.7°. Best body text is #FFFFFF at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#0F0B45
RGBrgb(15, 11, 69)
HSLhsl(244, 73%, 16%)
HSVhsv(244, 84%, 27%)
CMYKcmyk(78.3%, 84.1%, 0%, 72.9%)
CIE-LABlab(6.96, 23.33, -35.25)
CIE-LCHlch(6.96, 42.27, 303.49°)
OKLaboklab(20.77% 0.0102 -0.1021)
OKLCHoklch(20.77% 0.103 275.7)
XYZxyz(1.3905, 0.7704, 5.7045)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0B45 #41450B
analogous
#0B2445 #0F0B45 #2C0B45
triadic
#0F0B45 #450F0B #0B450F
tetradic
#0F0B45 #450B24 #41450B #0B452C
square
#0F0B45 #450B24 #41450B #0B452C
split-complementary
#0F0B45 #452C0B #24450B
monochromatic
#06041A #06041A #0F0B45 #1A137A #261CAF

Accessibility & contrast

On white

18.19
#0F0B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#0F0B45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0B45
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0B45#FFFFFF#000000##FFFFFF
##0F0B451.0018.191.1518.19
#FFFFFF18.191.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001847
Deuteranopia (green-blind)
#001344
Tritanopia (blue-blind)
#001C27
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0f0b45;
/* rgb */ color: rgb(15, 11, 69);
/* oklch */ color: oklch(20.8% 0.103 275.7);
Tailwind
colors: {
  custom: {
    50: '#574b79',
    500: '#0f0b45',
    950: '#000000',
  },
}
SCSS
$custom: #0f0b45;
$custom-light: #574b79;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0b45",
  "rgb": {
    "r": 15,
    "g": 11,
    "b": 69
  },
  "hsl": {
    "h": 244.138,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.20769,
    "c": 0.10266,
    "h": 275.7
  },
  "luminance": 0.00771
}

Semantic roles & 50–950 ramp

primary
#0F0B45
secondary
#7B812A
accent
#EF39E3
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #0F0B45

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

Preview Lab → · Contrast checker → · Palette generator →

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