#0B1945#0B1945

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

Color values

HEX#0B1945
RGBrgb(11, 25, 69)
HSLhsl(226, 73%, 16%)
HSVhsv(226, 84%, 27%)
CMYKcmyk(84.1%, 63.8%, 0%, 72.9%)
CIE-LABlab(10.53, 12.71, -29.42)
CIE-LCHlch(10.53, 32.05, 293.37°)
OKLaboklab(23.34% -0.0054 -0.0849)
OKLCHoklch(23.34% 0.085 266.4)
XYZxyz(1.5594, 1.1959, 5.7777)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1945 #45370B
analogous
#0B3645 #0B1945 #1A0B45
triadic
#0B1945 #450B19 #19450B
tetradic
#0B1945 #450B36 #45370B #0B451A
square
#0B1945 #450B36 #45370B #0B451A
split-complementary
#0B1945 #451A0B #36450B
monochromatic
#040A1A #040A1A #0B1945 #132C7A #1C3FAF

Accessibility & contrast

On white

16.95
#0B1945 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B1945
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1945#FFFFFF#000000##FFFFFF
##0B19451.0016.951.2416.95
#FFFFFF16.951.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F47
Deuteranopia (green-blind)
#001A44
Tritanopia (blue-blind)
#00242C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0b1945;
/* rgb */ color: rgb(11, 25, 69);
/* oklch */ color: oklch(23.3% 0.085 266.4);
Tailwind
colors: {
  custom: {
    50: '#545579',
    500: '#0b1945',
    950: '#000000',
  },
}
SCSS
$custom: #0b1945;
$custom-light: #545579;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1945",
  "rgb": {
    "r": 11,
    "g": 25,
    "b": 69
  },
  "hsl": {
    "h": 225.517,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.23339,
    "c": 0.08504,
    "h": 266.4
  },
  "luminance": 0.01196
}

Semantic roles & 50–950 ramp

primary
#0B1945
secondary
#816C2A
accent
#C339EF
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030309
muted
#78787B

Preview Lab

Preview with #0B1945

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

Preview Lab → · Contrast checker → · Palette generator →

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