#0B1B4E#0B1B4E

#0B1B4E is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.7% C 0.096 H 266.0°. Best body text is #FFFFFF at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#0B1B4E
RGBrgb(11, 27, 78)
HSLhsl(226, 75%, 17%)
HSVhsv(226, 86%, 31%)
CMYKcmyk(85.9%, 65.4%, 0%, 69.4%)
CIE-LABlab(11.99, 15.16, -33.27)
CIE-LCHlch(11.99, 36.57, 294.49°)
OKLaboklab(24.7% -0.0066 -0.0962)
OKLCHoklch(24.7% 0.096 266)
XYZxyz(1.9046, 1.4049, 7.3770)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1B4E #4E3E0B
analogous
#0B3C4E #0B1B4E #1D0B4E
triadic
#0B1B4E #4E0B1B #1B4E0B
tetradic
#0B1B4E #4E0B3C #4E3E0B #0B4E1D
square
#0B1B4E #4E0B3C #4E3E0B #0B4E1D
split-complementary
#0B1B4E #4E1D0B #3C4E0B
monochromatic
#04091B #04091B #0B1B4E #132E84 #1A40B9

Accessibility & contrast

On white

16.39
#0B1B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#0B1B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B1B4E
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1B4E#FFFFFF#000000##FFFFFF
##0B1B4E1.0016.391.2816.39
#FFFFFF16.391.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002350
Deuteranopia (green-blind)
#001C4D
Tritanopia (blue-blind)
#002831
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #0b1b4e;
/* rgb */ color: rgb(11, 27, 78);
/* oklch */ color: oklch(24.7% 0.096 266.0);
Tailwind
colors: {
  custom: {
    50: '#575680',
    500: '#0b1b4e',
    950: '#000000',
  },
}
SCSS
$custom: #0b1b4e;
$custom-light: #575680;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1b4e",
  "rgb": {
    "r": 11,
    "g": 27,
    "b": 78
  },
  "hsl": {
    "h": 225.672,
    "s": 75.281,
    "l": 17.451
  },
  "oklch": {
    "l": 0.24697,
    "c": 0.09639,
    "h": 266
  },
  "luminance": 0.01405
}

Semantic roles & 50–950 ramp

primary
#0B1B4E
secondary
#8A732B
accent
#C536F2
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0B1B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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