#0B1048#0B1048

#0B1048 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.7% C 0.102 H 270.6°. Best body text is #FFFFFF at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#0B1048
RGBrgb(11, 16, 72)
HSLhsl(235, 73%, 16%)
HSVhsv(235, 85%, 28%)
CMYKcmyk(84.7%, 77.8%, 0%, 71.8%)
CIE-LABlab(8.21, 20.84, -35.31)
CIE-LCHlch(8.21, 41.00, 300.56°)
OKLaboklab(21.73% 0.0011 -0.1022)
OKLCHoklch(21.73% 0.102 270.6)
XYZxyz(1.4926, 0.9094, 6.2265)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1048 #48430B
analogous
#0B2F48 #0B1048 #250B48
triadic
#0B1048 #480B10 #10480B
tetradic
#0B1048 #480B2F #48430B #0B4825
square
#0B1048 #480B2F #48430B #0B4825
split-complementary
#0B1048 #48250B #2F480B
monochromatic
#04061B #04061B #0B1048 #131C7D #1B28B2

Accessibility & contrast

On white

17.77
#0B1048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B1048
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1048#FFFFFF#000000##FFFFFF
##0B10481.0017.771.1817.77
#FFFFFF17.771.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b1048;
/* rgb */ color: rgb(11, 16, 72);
/* oklch */ color: oklch(21.7% 0.102 270.6);
Tailwind
colors: {
  custom: {
    50: '#564e7c',
    500: '#0b1048',
    950: '#000000',
  },
}
SCSS
$custom: #0b1048;
$custom-light: #564e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1048",
  "rgb": {
    "r": 11,
    "g": 16,
    "b": 72
  },
  "hsl": {
    "h": 235.082,
    "s": 73.494,
    "l": 16.275
  },
  "oklch": {
    "l": 0.2173,
    "c": 0.10221,
    "h": 270.6
  },
  "luminance": 0.0091
}

Semantic roles & 50–950 ramp

primary
#0B1048
secondary
#847D2A
accent
#E138F0
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030109
muted
#78777B

Preview Lab

Preview with #0B1048

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

Preview Lab → · Contrast checker → · Palette generator →

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