#0B1847#0B1847

#0B1847 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.3% C 0.090 H 267.1°. Best body text is #FFFFFF at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#0B1847
RGBrgb(11, 24, 71)
HSLhsl(227, 73%, 16%)
HSVhsv(227, 85%, 28%)
CMYKcmyk(84.5%, 66.2%, 0%, 72.2%)
CIE-LABlab(10.40, 14.38, -31.02)
CIE-LCHlch(10.40, 34.19, 294.87°)
OKLaboklab(23.31% -0.0045 -0.0896)
OKLCHoklch(23.31% 0.09 267.1)
XYZxyz(1.6016, 1.1792, 6.1032)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1847 #473A0B
analogous
#0B3647 #0B1847 #1C0B47
triadic
#0B1847 #470B18 #18470B
tetradic
#0B1847 #470B36 #473A0B #0B471C
square
#0B1847 #470B36 #473A0B #0B471C
split-complementary
#0B1847 #471C0B #36470B
monochromatic
#04091A #04091A #0B1847 #132A7C #1B3CB1

Accessibility & contrast

On white

16.99
#0B1847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B1847
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1847#FFFFFF#000000##FFFFFF
##0B18471.0016.991.2416.99
#FFFFFF16.991.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F49
Deuteranopia (green-blind)
#001A46
Tritanopia (blue-blind)
#00242C
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0b1847;
/* rgb */ color: rgb(11, 24, 71);
/* oklch */ color: oklch(23.3% 0.090 267.1);
Tailwind
colors: {
  custom: {
    50: '#55547b',
    500: '#0b1847',
    950: '#000000',
  },
}
SCSS
$custom: #0b1847;
$custom-light: #55547b;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1847",
  "rgb": {
    "r": 11,
    "g": 24,
    "b": 71
  },
  "hsl": {
    "h": 227,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.23305,
    "c": 0.0897,
    "h": 267.1
  },
  "luminance": 0.01179
}

Semantic roles & 50–950 ramp

primary
#0B1847
secondary
#83702A
accent
#C838F0
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030209
muted
#78787B

Preview Lab

Preview with #0B1847

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

Preview Lab → · Contrast checker → · Palette generator →

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