#0B153A#0B153A

#0B153A is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.3% C 0.073 H 268.2°. Best body text is #FFFFFF at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#0B153A
RGBrgb(11, 21, 58)
HSLhsl(227, 68%, 14%)
HSVhsv(227, 81%, 23%)
CMYKcmyk(81%, 63.8%, 0%, 77.3%)
CIE-LABlab(8.24, 10.94, -25.33)
CIE-LCHlch(8.24, 27.59, 293.36°)
OKLaboklab(21.31% -0.0023 -0.0729)
OKLCHoklch(21.31% 0.073 268.2)
XYZxyz(1.1696, 0.9128, 4.1167)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B153A #3A300B
analogous
#0B2C3A #0B153A #180B3A
triadic
#0B153A #3A0B15 #153A0B
tetradic
#0B153A #3A0B2C #3A300B #0B3A18
square
#0B153A #3A0B2C #3A300B #0B3A18
split-complementary
#0B153A #3A180B #2C3A0B
monochromatic
#05091A #05091A #0B153A #15286D #1F3AA1

Accessibility & contrast

On white

17.76
#0B153A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#0B153A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B153A
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B153A#FFFFFF#000000##FFFFFF
##0B153A1.0017.761.1817.76
#FFFFFF17.761.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3B
Deuteranopia (green-blind)
#001639
Tritanopia (blue-blind)
#001E24
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0b153a;
/* rgb */ color: rgb(11, 21, 58);
/* oklch */ color: oklch(21.3% 0.073 268.2);
Tailwind
colors: {
  custom: {
    50: '#515170',
    500: '#0b153a',
    950: '#000000',
  },
}
SCSS
$custom: #0b153a;
$custom-light: #515170;
$custom-dark: #000000;
JSON
{
  "hex": "#0b153a",
  "rgb": {
    "r": 11,
    "g": 21,
    "b": 58
  },
  "hsl": {
    "h": 227.234,
    "s": 68.116,
    "l": 13.529
  },
  "oklch": {
    "l": 0.21308,
    "c": 0.07295,
    "h": 268.2
  },
  "luminance": 0.00913
}

Semantic roles & 50–950 ramp

primary
#0B153A
secondary
#77662A
accent
#C63DEB
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #0B153A

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

Preview Lab → · Contrast checker → · Palette generator →

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