#0B1148#0B1148

#0B1148 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.9% C 0.101 H 270.3°. Best body text is #FFFFFF at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#0B1148
RGBrgb(11, 17, 72)
HSLhsl(234, 73%, 16%)
HSVhsv(234, 85%, 28%)
CMYKcmyk(84.7%, 76.4%, 0%, 71.8%)
CIE-LABlab(8.48, 20.12, -34.87)
CIE-LCHlch(8.48, 40.26, 299.98°)
OKLaboklab(21.92% 0.0005 -0.1009)
OKLCHoklch(21.92% 0.101 270.3)
XYZxyz(1.5078, 0.9398, 6.2316)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1148 #48420B
analogous
#0B3048 #0B1148 #240B48
triadic
#0B1148 #480B11 #11480B
tetradic
#0B1148 #480B30 #48420B #0B4824
square
#0B1148 #480B30 #48420B #0B4824
split-complementary
#0B1148 #48240B #30480B
monochromatic
#04061B #04061B #0B1148 #131E7D #1B2AB2

Accessibility & contrast

On white

17.68
#0B1148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#0B1148 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B1148
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1148#FFFFFF#000000##FFFFFF
##0B11481.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4A
Deuteranopia (green-blind)
#001647
Tritanopia (blue-blind)
#00202A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0b1148;
/* rgb */ color: rgb(11, 17, 72);
/* oklch */ color: oklch(21.9% 0.101 270.3);
Tailwind
colors: {
  custom: {
    50: '#564f7c',
    500: '#0b1148',
    950: '#000000',
  },
}
SCSS
$custom: #0b1148;
$custom-light: #564f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1148",
  "rgb": {
    "r": 11,
    "g": 17,
    "b": 72
  },
  "hsl": {
    "h": 234.098,
    "s": 73.494,
    "l": 16.275
  },
  "oklch": {
    "l": 0.21922,
    "c": 0.10092,
    "h": 270.3
  },
  "luminance": 0.0094
}

Semantic roles & 50–950 ramp

primary
#0B1148
secondary
#847C2A
accent
#DE38F0
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030109
muted
#78777B

Preview Lab

Preview with #0B1148

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

Preview Lab → · Contrast checker → · Palette generator →

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