#0B1A4D#0B1A4D

#0B1A4D is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.4% C 0.096 H 266.5°. Best body text is #FFFFFF at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#0B1A4D
RGBrgb(11, 26, 77)
HSLhsl(226, 75%, 17%)
HSVhsv(226, 86%, 30%)
CMYKcmyk(85.7%, 66.2%, 0%, 69.8%)
CIE-LABlab(11.59, 15.49, -33.24)
CIE-LCHlch(11.59, 36.67, 294.99°)
OKLaboklab(24.37% -0.0059 -0.0961)
OKLCHoklch(24.37% 0.096 266.5)
XYZxyz(1.8465, 1.3455, 7.1821)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1A4D #4D3E0B
analogous
#0B3B4D #0B1A4D #1D0B4D
triadic
#0B1A4D #4D0B1A #1A4D0B
tetradic
#0B1A4D #4D0B3B #4D3E0B #0B4D1D
square
#0B1A4D #4D0B3B #4D3E0B #0B4D1D
split-complementary
#0B1A4D #4D1D0B #3B4D0B
monochromatic
#04091B #04091B #0B1A4D #132C83 #1A3EB8

Accessibility & contrast

On white

16.55
#0B1A4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#0B1A4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B1A4D
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1A4D#FFFFFF#000000##FFFFFF
##0B1A4D1.0016.551.2716.55
#FFFFFF16.551.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224F
Deuteranopia (green-blind)
#001C4C
Tritanopia (blue-blind)
#002730
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #0b1a4d;
/* rgb */ color: rgb(11, 26, 77);
/* oklch */ color: oklch(24.4% 0.096 266.5);
Tailwind
colors: {
  custom: {
    50: '#57567f',
    500: '#0b1a4d',
    950: '#000000',
  },
}
SCSS
$custom: #0b1a4d;
$custom-light: #57567f;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1a4d",
  "rgb": {
    "r": 11,
    "g": 26,
    "b": 77
  },
  "hsl": {
    "h": 226.364,
    "s": 75,
    "l": 17.255
  },
  "oklch": {
    "l": 0.2437,
    "c": 0.09625,
    "h": 266.5
  },
  "luminance": 0.01346
}

Semantic roles & 50–950 ramp

primary
#0B1A4D
secondary
#89742B
accent
#C736F2
background
#F5F5F7
surface
#E9E8EE
border
#C5C4C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0B1A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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