#0B0F48#0B0F48

#0B0F48 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.5% C 0.103 H 270.9°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#0B0F48
RGBrgb(11, 15, 72)
HSLhsl(236, 73%, 16%)
HSVhsv(236, 85%, 28%)
CMYKcmyk(84.7%, 79.2%, 0%, 71.8%)
CIE-LABlab(7.95, 21.56, -35.73)
CIE-LCHlch(7.95, 41.73, 301.10°)
OKLaboklab(21.54% 0.0017 -0.1034)
OKLCHoklch(21.54% 0.103 270.9)
XYZxyz(1.4781, 0.8805, 6.2217)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0F48 #48440B
analogous
#0B2E48 #0B0F48 #260B48
triadic
#0B0F48 #480B0F #0F480B
tetradic
#0B0F48 #480B2E #48440B #0B4826
square
#0B0F48 #480B2E #48440B #0B4826
split-complementary
#0B0F48 #48260B #2E480B
monochromatic
#04061B #04061B #0B0F48 #131A7D #1B25B2

Accessibility & contrast

On white

17.85
#0B0F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#0B0F48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0F48
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0F48#FFFFFF#000000##FFFFFF
##0B0F481.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4A
Deuteranopia (green-blind)
#001447
Tritanopia (blue-blind)
#001F2A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0b0f48;
/* rgb */ color: rgb(11, 15, 72);
/* oklch */ color: oklch(21.5% 0.103 270.9);
Tailwind
colors: {
  custom: {
    50: '#564d7c',
    500: '#0b0f48',
    950: '#000000',
  },
}
SCSS
$custom: #0b0f48;
$custom-light: #564d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0f48",
  "rgb": {
    "r": 11,
    "g": 15,
    "b": 72
  },
  "hsl": {
    "h": 236.066,
    "s": 73.494,
    "l": 16.275
  },
  "oklch": {
    "l": 0.21543,
    "c": 0.10346,
    "h": 270.9
  },
  "luminance": 0.00881
}

Semantic roles & 50–950 ramp

primary
#0B0F48
secondary
#847E2A
accent
#E438F0
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0B0F48

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

Preview Lab → · Contrast checker → · Palette generator →

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