#0B153B#0B153B

#0B153B is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.4% C 0.075 H 268.3°. Best body text is #FFFFFF at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#0B153B
RGBrgb(11, 21, 59)
HSLhsl(228, 69%, 14%)
HSVhsv(228, 81%, 23%)
CMYKcmyk(81.4%, 64.4%, 0%, 76.9%)
CIE-LABlab(8.33, 11.39, -25.90)
CIE-LCHlch(8.33, 28.29, 293.73°)
OKLaboklab(21.4% -0.0023 -0.0746)
OKLCHoklch(21.4% 0.075 268.3)
XYZxyz(1.1953, 0.9231, 4.2520)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B153B #3B310B
analogous
#0B2D3B #0B153B #190B3B
triadic
#0B153B #3B0B15 #153B0B
tetradic
#0B153B #3B0B2D #3B310B #0B3B19
square
#0B153B #3B0B2D #3B310B #0B3B19
split-complementary
#0B153B #3B190B #2D3B0B
monochromatic
#05091A #05091A #0B153B #15276F #1E3AA2

Accessibility & contrast

On white

17.73
#0B153B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B153B
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B153B#FFFFFF#000000##FFFFFF
##0B153B1.0017.731.1817.73
#FFFFFF17.731.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3C
Deuteranopia (green-blind)
#00163A
Tritanopia (blue-blind)
#001E25
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0b153b;
/* rgb */ color: rgb(11, 21, 59);
/* oklch */ color: oklch(21.4% 0.075 268.3);
Tailwind
colors: {
  custom: {
    50: '#525171',
    500: '#0b153b',
    950: '#000000',
  },
}
SCSS
$custom: #0b153b;
$custom-light: #525171;
$custom-dark: #000000;
JSON
{
  "hex": "#0b153b",
  "rgb": {
    "r": 11,
    "g": 21,
    "b": 59
  },
  "hsl": {
    "h": 227.5,
    "s": 68.571,
    "l": 13.725
  },
  "oklch": {
    "l": 0.21405,
    "c": 0.07462,
    "h": 268.3
  },
  "luminance": 0.00923
}

Semantic roles & 50–950 ramp

primary
#0B153B
secondary
#78682A
accent
#C73CEB
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020208
muted
#78787B

Preview Lab

Preview with #0B153B

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

Preview Lab → · Contrast checker → · Palette generator →

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