#0B152D#0B152D

#0B152D is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.1% C 0.050 H 265.2°. Best body text is #FFFFFF at 18.11:1 contrast (WCAG AA passes).

Color values

HEX#0B152D
RGBrgb(11, 21, 45)
HSLhsl(222, 61%, 11%)
HSVhsv(222, 76%, 18%)
CMYKcmyk(75.6%, 53.3%, 0%, 82.4%)
CIE-LABlab(7.20, 4.99, -17.52)
CIE-LCHlch(7.20, 18.21, 285.89°)
OKLaboklab(20.15% -0.0042 -0.0501)
OKLCHoklch(20.15% 0.05 265.2)
XYZxyz(0.8797, 0.7969, 2.5896)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B152D #2D230B
analogous
#0B262D #0B152D #120B2D
triadic
#0B152D #2D0B15 #152D0B
tetradic
#0B152D #2D0B26 #2D230B #0B2D12
square
#0B152D #2D0B26 #2D230B #0B2D12
split-complementary
#0B152D #2D120B #262D0B
monochromatic
#060B19 #060B19 #0B152D #172C5E #23438F

Accessibility & contrast

On white

18.11
#0B152D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0B152D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B152D
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B152D#FFFFFF#000000##FFFFFF
##0B152D1.0018.111.1618.11
#FFFFFF18.111.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A182E
Deuteranopia (green-blind)
#06142C
Tritanopia (blue-blind)
#001A1E
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0b152d;
/* rgb */ color: rgb(11, 21, 45);
/* oklch */ color: oklch(20.1% 0.050 265.2);
Tailwind
colors: {
  custom: {
    50: '#4e5166',
    500: '#0b152d',
    950: '#000000',
  },
}
SCSS
$custom: #0b152d;
$custom-light: #4e5166;
$custom-dark: #000000;
JSON
{
  "hex": "#0b152d",
  "rgb": {
    "r": 11,
    "g": 21,
    "b": 45
  },
  "hsl": {
    "h": 222.353,
    "s": 60.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.20149,
    "c": 0.05027,
    "h": 265.2
  },
  "luminance": 0.00797
}

Semantic roles & 50–950 ramp

primary
#0B152D
secondary
#69572A
accent
#B544E4
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #0B152D

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

Preview Lab → · Contrast checker → · Palette generator →

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