#0B1B4D#0B1B4D

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

Color values

HEX#0B1B4D
RGBrgb(11, 27, 77)
HSLhsl(225, 75%, 17%)
HSVhsv(225, 86%, 30%)
CMYKcmyk(85.7%, 64.9%, 0%, 69.8%)
CIE-LABlab(11.89, 14.72, -32.74)
CIE-LCHlch(11.89, 35.90, 294.21°)
OKLaboklab(24.6% -0.0067 -0.0946)
OKLCHoklch(24.6% 0.095 266)
XYZxyz(1.8690, 1.3906, 7.1897)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1B4D #4D3D0B
analogous
#0B3C4D #0B1B4D #1C0B4D
triadic
#0B1B4D #4D0B1B #1B4D0B
tetradic
#0B1B4D #4D0B3C #4D3D0B #0B4D1C
square
#0B1B4D #4D0B3C #4D3D0B #0B4D1C
split-complementary
#0B1B4D #4D1C0B #3C4D0B
monochromatic
#04091B #04091B #0B1B4D #132E83 #1A41B8

Accessibility & contrast

On white

16.43
#0B1B4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B1B4D
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1B4D#FFFFFF#000000##FFFFFF
##0B1B4D1.0016.431.2816.43
#FFFFFF16.431.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b1b4d;
/* rgb */ color: rgb(11, 27, 77);
/* oklch */ color: oklch(24.6% 0.095 266.0);
Tailwind
colors: {
  custom: {
    50: '#57567f',
    500: '#0b1b4d',
    950: '#000000',
  },
}
SCSS
$custom: #0b1b4d;
$custom-light: #57567f;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1b4d",
  "rgb": {
    "r": 11,
    "g": 27,
    "b": 77
  },
  "hsl": {
    "h": 225.455,
    "s": 75,
    "l": 17.255
  },
  "oklch": {
    "l": 0.24597,
    "c": 0.09483,
    "h": 266
  },
  "luminance": 0.01391
}

Semantic roles & 50–950 ramp

primary
#0B1B4D
secondary
#89722B
accent
#C436F2
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0B1B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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