#0B1B4A#0B1B4A

#0B1B4A is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.3% C 0.090 H 265.7°. Best body text is #FFFFFF at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#0B1B4A
RGBrgb(11, 27, 74)
HSLhsl(225, 74%, 17%)
HSVhsv(225, 85%, 29%)
CMYKcmyk(85.1%, 63.5%, 0%, 71%)
CIE-LABlab(11.62, 13.39, -31.13)
CIE-LCHlch(11.62, 33.88, 293.27°)
OKLaboklab(24.3% -0.0068 -0.0898)
OKLCHoklch(24.3% 0.09 265.7)
XYZxyz(1.7655, 1.3492, 6.6446)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1B4A #4A3A0B
analogous
#0B3B4A #0B1B4A #1B0B4A
triadic
#0B1B4A #4A0B1B #1B4A0B
tetradic
#0B1B4A #4A0B3B #4A3A0B #0B4A1B
square
#0B1B4A #4A0B3B #4A3A0B #0B4A1B
split-complementary
#0B1B4A #4A1B0B #3B4A0B
monochromatic
#040A1B #040A1B #0B1B4A #132E7F #1B42B5

Accessibility & contrast

On white

16.54
#0B1B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B1B4A
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1B4A#FFFFFF#000000##FFFFFF
##0B1B4A1.0016.541.2716.54
#FFFFFF16.541.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224C
Deuteranopia (green-blind)
#001C49
Tritanopia (blue-blind)
#00272F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #0b1b4a;
/* rgb */ color: rgb(11, 27, 74);
/* oklch */ color: oklch(24.3% 0.090 265.7);
Tailwind
colors: {
  custom: {
    50: '#56567d',
    500: '#0b1b4a',
    950: '#000000',
  },
}
SCSS
$custom: #0b1b4a;
$custom-light: #56567d;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1b4a",
  "rgb": {
    "r": 11,
    "g": 27,
    "b": 74
  },
  "hsl": {
    "h": 224.762,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.243,
    "c": 0.09011,
    "h": 265.7
  },
  "luminance": 0.01349
}

Semantic roles & 50–950 ramp

primary
#0B1B4A
secondary
#866F2B
accent
#C237F1
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03030A
muted
#78787C

Preview Lab

Preview with #0B1B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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