#0B1C4A#0B1C4A

#0B1C4A is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.5% C 0.089 H 265.1°. Best body text is #FFFFFF at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#0B1C4A
RGBrgb(11, 28, 74)
HSLhsl(224, 74%, 17%)
HSVhsv(224, 85%, 29%)
CMYKcmyk(85.1%, 62.2%, 0%, 71%)
CIE-LABlab(11.93, 12.61, -30.62)
CIE-LCHlch(11.93, 33.11, 292.39°)
OKLaboklab(24.54% -0.0076 -0.0883)
OKLCHoklch(24.54% 0.089 265.1)
XYZxyz(1.7889, 1.3959, 6.6524)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1C4A #4A390B
analogous
#0B3C4A #0B1C4A #1A0B4A
triadic
#0B1C4A #4A0B1C #1C4A0B
tetradic
#0B1C4A #4A0B3C #4A390B #0B4A1A
square
#0B1C4A #4A0B3C #4A390B #0B4A1A
split-complementary
#0B1C4A #4A1A0B #3C4A0B
monochromatic
#040A1B #040A1B #0B1C4A #13307F #1B44B5

Accessibility & contrast

On white

16.42
#0B1C4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B1C4A
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1C4A#FFFFFF#000000##FFFFFF
##0B1C4A1.0016.421.2816.42
#FFFFFF16.421.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b1c4a;
/* rgb */ color: rgb(11, 28, 74);
/* oklch */ color: oklch(24.5% 0.089 265.1);
Tailwind
colors: {
  custom: {
    50: '#56577d',
    500: '#0b1c4a',
    950: '#000000',
  },
}
SCSS
$custom: #0b1c4a;
$custom-light: #56577d;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1c4a",
  "rgb": {
    "r": 11,
    "g": 28,
    "b": 74
  },
  "hsl": {
    "h": 223.81,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.24537,
    "c": 0.08866,
    "h": 265.1
  },
  "luminance": 0.01396
}

Semantic roles & 50–950 ramp

primary
#0B1C4A
secondary
#866E2B
accent
#BF37F1
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030309
muted
#78787B

Preview Lab

Preview with #0B1C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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