#0B1845#0B1845

#0B1845 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.1% C 0.087 H 267.0°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#0B1845
RGBrgb(11, 24, 69)
HSLhsl(227, 73%, 16%)
HSVhsv(227, 84%, 27%)
CMYKcmyk(84.1%, 65.2%, 0%, 72.9%)
CIE-LABlab(10.21, 13.49, -29.93)
CIE-LCHlch(10.21, 32.83, 294.26°)
OKLaboklab(23.1% -0.0045 -0.0864)
OKLCHoklch(23.1% 0.087 267)
XYZxyz(1.5384, 1.1539, 5.7707)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1845 #45380B
analogous
#0B3545 #0B1845 #1B0B45
triadic
#0B1845 #450B18 #18450B
tetradic
#0B1845 #450B35 #45380B #0B451B
square
#0B1845 #450B35 #45380B #0B451B
split-complementary
#0B1845 #451B0B #35450B
monochromatic
#04091A #04091A #0B1845 #132A7A #1C3DAF

Accessibility & contrast

On white

17.06
#0B1845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#0B1845 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B1845
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1845#FFFFFF#000000##FFFFFF
##0B18451.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F47
Deuteranopia (green-blind)
#001944
Tritanopia (blue-blind)
#00232B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0b1845;
/* rgb */ color: rgb(11, 24, 69);
/* oklch */ color: oklch(23.1% 0.087 267.0);
Tailwind
colors: {
  custom: {
    50: '#545479',
    500: '#0b1845',
    950: '#000000',
  },
}
SCSS
$custom: #0b1845;
$custom-light: #545479;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1845",
  "rgb": {
    "r": 11,
    "g": 24,
    "b": 69
  },
  "hsl": {
    "h": 226.552,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.23104,
    "c": 0.08651,
    "h": 267
  },
  "luminance": 0.01154
}

Semantic roles & 50–950 ramp

primary
#0B1845
secondary
#816E2A
accent
#C639EF
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #0B1845

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

Preview Lab → · Contrast checker → · Palette generator →

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