#0B1B4B#0B1B4B

#0B1B4B is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.4% C 0.092 H 265.8°. Best body text is #FFFFFF at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#0B1B4B
RGBrgb(11, 27, 75)
HSLhsl(225, 74%, 17%)
HSVhsv(225, 85%, 29%)
CMYKcmyk(85.3%, 64%, 0%, 70.6%)
CIE-LABlab(11.71, 13.83, -31.67)
CIE-LCHlch(11.71, 34.56, 293.59°)
OKLaboklab(24.4% -0.0068 -0.0914)
OKLCHoklch(24.4% 0.092 265.8)
XYZxyz(1.7995, 1.3628, 6.8235)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1B4B #4B3B0B
analogous
#0B3B4B #0B1B4B #1B0B4B
triadic
#0B1B4B #4B0B1B #1B4B0B
tetradic
#0B1B4B #4B0B3B #4B3B0B #0B4B1B
square
#0B1B4B #4B0B3B #4B3B0B #0B4B1B
split-complementary
#0B1B4B #4B1B0B #3B4B0B
monochromatic
#040A1B #040A1B #0B1B4B #132E80 #1B41B6

Accessibility & contrast

On white

16.50
#0B1B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B1B4B
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1B4B#FFFFFF#000000##FFFFFF
##0B1B4B1.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b1b4b;
/* rgb */ color: rgb(11, 27, 75);
/* oklch */ color: oklch(24.4% 0.092 265.8);
Tailwind
colors: {
  custom: {
    50: '#56567e',
    500: '#0b1b4b',
    950: '#000000',
  },
}
SCSS
$custom: #0b1b4b;
$custom-light: #56567e;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1b4b",
  "rgb": {
    "r": 11,
    "g": 27,
    "b": 75
  },
  "hsl": {
    "h": 225,
    "s": 74.419,
    "l": 16.863
  },
  "oklch": {
    "l": 0.24398,
    "c": 0.09169,
    "h": 265.8
  },
  "luminance": 0.01363
}

Semantic roles & 50–950 ramp

primary
#0B1B4B
secondary
#87702B
accent
#C237F1
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03030A
muted
#78787C

Preview Lab

Preview with #0B1B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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