#0B1848#0B1848

#0B1848 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.4% C 0.091 H 267.2°. Best body text is #FFFFFF at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#0B1848
RGBrgb(11, 24, 72)
HSLhsl(227, 73%, 16%)
HSVhsv(227, 85%, 28%)
CMYKcmyk(84.7%, 66.7%, 0%, 71.8%)
CIE-LABlab(10.50, 14.82, -31.56)
CIE-LCHlch(10.50, 34.87, 295.16°)
OKLaboklab(23.41% -0.0045 -0.0912)
OKLCHoklch(23.41% 0.091 267.2)
XYZxyz(1.6339, 1.1921, 6.2736)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1848 #483B0B
analogous
#0B3748 #0B1848 #1D0B48
triadic
#0B1848 #480B18 #18480B
tetradic
#0B1848 #480B37 #483B0B #0B481D
square
#0B1848 #480B37 #483B0B #0B481D
split-complementary
#0B1848 #481D0B #37480B
monochromatic
#04091B #04091B #0B1848 #132A7D #1B3BB2

Accessibility & contrast

On white

16.96
#0B1848 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#0B1848 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B1848
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1848#FFFFFF#000000##FFFFFF
##0B18481.0016.961.2416.96
#FFFFFF16.961.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4A
Deuteranopia (green-blind)
#001A47
Tritanopia (blue-blind)
#00242D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0b1848;
/* rgb */ color: rgb(11, 24, 72);
/* oklch */ color: oklch(23.4% 0.091 267.2);
Tailwind
colors: {
  custom: {
    50: '#55547b',
    500: '#0b1848',
    950: '#000000',
  },
}
SCSS
$custom: #0b1848;
$custom-light: #55547b;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1848",
  "rgb": {
    "r": 11,
    "g": 24,
    "b": 72
  },
  "hsl": {
    "h": 227.213,
    "s": 73.494,
    "l": 16.275
  },
  "oklch": {
    "l": 0.23407,
    "c": 0.09128,
    "h": 267.2
  },
  "luminance": 0.01192
}

Semantic roles & 50–950 ramp

primary
#0B1848
secondary
#84712A
accent
#C938F0
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030209
muted
#78787B

Preview Lab

Preview with #0B1848

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

Preview Lab → · Contrast checker → · Palette generator →

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