#0B0F45#0B0F45

#0B0F45 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.2% C 0.099 H 271.2°. Best body text is #FFFFFF at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#0B0F45
RGBrgb(11, 15, 69)
HSLhsl(236, 73%, 16%)
HSVhsv(236, 84%, 27%)
CMYKcmyk(84.1%, 78.3%, 0%, 72.9%)
CIE-LABlab(7.61, 20.29, -34.20)
CIE-LCHlch(7.61, 39.76, 300.69°)
OKLaboklab(21.19% 0.0021 -0.099)
OKLCHoklch(21.19% 0.099 271.2)
XYZxyz(1.3826, 0.8423, 5.7188)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0F45 #45410B
analogous
#0B2C45 #0B0F45 #240B45
triadic
#0B0F45 #450B0F #0F450B
tetradic
#0B0F45 #450B2C #45410B #0B4524
square
#0B0F45 #450B2C #45410B #0B4524
split-complementary
#0B0F45 #45240B #2C450B
monochromatic
#04061A #04061A #0B0F45 #131A7A #1C26AF

Accessibility & contrast

On white

17.97
#0B0F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B0F45
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0F45#FFFFFF#000000##FFFFFF
##0B0F451.0017.971.1717.97
#FFFFFF17.971.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A47
Deuteranopia (green-blind)
#001444
Tritanopia (blue-blind)
#001E28
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0b0f45;
/* rgb */ color: rgb(11, 15, 69);
/* oklch */ color: oklch(21.2% 0.099 271.2);
Tailwind
colors: {
  custom: {
    50: '#564d79',
    500: '#0b0f45',
    950: '#000000',
  },
}
SCSS
$custom: #0b0f45;
$custom-light: #564d79;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0f45",
  "rgb": {
    "r": 11,
    "g": 15,
    "b": 69
  },
  "hsl": {
    "h": 235.862,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.21185,
    "c": 0.09901,
    "h": 271.2
  },
  "luminance": 0.00842
}

Semantic roles & 50–950 ramp

primary
#0B0F45
secondary
#817B2A
accent
#E339EF
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0B0F45

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

Preview Lab → · Contrast checker → · Palette generator →

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