#0F0B4A#0F0B4A

#0F0B4A is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.4% C 0.110 H 274.7°. Best body text is #FFFFFF at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#0F0B4A
RGBrgb(15, 11, 74)
HSLhsl(244, 74%, 17%)
HSVhsv(244, 85%, 29%)
CMYKcmyk(79.7%, 85.1%, 0%, 71%)
CIE-LABlab(7.54, 25.37, -37.80)
CIE-LCHlch(7.54, 45.52, 303.87°)
OKLaboklab(21.39% 0.0089 -0.1094)
OKLCHoklch(21.39% 0.11 274.7)
XYZxyz(1.5523, 0.8352, 6.5566)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0B4A #464A0B
analogous
#0B274A #0F0B4A #2F0B4A
triadic
#0F0B4A #4A0F0B #0B4A0F
tetradic
#0F0B4A #4A0B27 #464A0B #0B4A2F
square
#0F0B4A #4A0B27 #464A0B #0B4A2F
split-complementary
#0F0B4A #4A2F0B #274A0B
monochromatic
#05041B #05041B #0F0B4A #1A137F #251BB5

Accessibility & contrast

On white

17.99
#0F0B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#0F0B4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0B4A
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0B4A#FFFFFF#000000##FFFFFF
##0F0B4A1.0017.991.1717.99
#FFFFFF17.991.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00194C
Deuteranopia (green-blind)
#001449
Tritanopia (blue-blind)
#001E2A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0f0b4a;
/* rgb */ color: rgb(15, 11, 74);
/* oklch */ color: oklch(21.4% 0.110 274.7);
Tailwind
colors: {
  custom: {
    50: '#594b7d',
    500: '#0f0b4a',
    950: '#000000',
  },
}
SCSS
$custom: #0f0b4a;
$custom-light: #594b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0b4a",
  "rgb": {
    "r": 15,
    "g": 11,
    "b": 74
  },
  "hsl": {
    "h": 243.81,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.21394,
    "c": 0.10972,
    "h": 274.7
  },
  "luminance": 0.00835
}

Semantic roles & 50–950 ramp

primary
#0F0B4A
secondary
#80862B
accent
#F137E5
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0F0B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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