#0B1A4A#0B1A4A

#0B1A4A is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.1% C 0.092 H 266.2°. Best body text is #FFFFFF at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#0B1A4A
RGBrgb(11, 26, 74)
HSLhsl(226, 74%, 17%)
HSVhsv(226, 85%, 29%)
CMYKcmyk(85.1%, 64.9%, 0%, 71%)
CIE-LABlab(11.30, 14.16, -31.63)
CIE-LCHlch(11.30, 34.66, 294.11°)
OKLaboklab(24.07% -0.006 -0.0914)
OKLCHoklch(24.07% 0.092 266.2)
XYZxyz(1.7430, 1.3042, 6.6371)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1A4A #4A3B0B
analogous
#0B3A4A #0B1A4A #1C0B4A
triadic
#0B1A4A #4A0B1A #1A4A0B
tetradic
#0B1A4A #4A0B3A #4A3B0B #0B4A1C
square
#0B1A4A #4A0B3A #4A3B0B #0B4A1C
split-complementary
#0B1A4A #4A1C0B #3A4A0B
monochromatic
#04091B #04091B #0B1A4A #132D7F #1B3FB5

Accessibility & contrast

On white

16.66
#0B1A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#0B1A4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B1A4A
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1A4A#FFFFFF#000000##FFFFFF
##0B1A4A1.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214C
Deuteranopia (green-blind)
#001B49
Tritanopia (blue-blind)
#00262F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0b1a4a;
/* rgb */ color: rgb(11, 26, 74);
/* oklch */ color: oklch(24.1% 0.092 266.2);
Tailwind
colors: {
  custom: {
    50: '#56567d',
    500: '#0b1a4a',
    950: '#000000',
  },
}
SCSS
$custom: #0b1a4a;
$custom-light: #56567d;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1a4a",
  "rgb": {
    "r": 11,
    "g": 26,
    "b": 74
  },
  "hsl": {
    "h": 225.714,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.24067,
    "c": 0.09156,
    "h": 266.2
  },
  "luminance": 0.01304
}

Semantic roles & 50–950 ramp

primary
#0B1A4A
secondary
#86702B
accent
#C537F1
background
#F5F5F7
surface
#E9E8EE
border
#C5C4C9
text
#03030A
muted
#78787C

Preview Lab

Preview with #0B1A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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