#0B152F#0B152F

#0B152F is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.3% C 0.054 H 266.0°. Best body text is #FFFFFF at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#0B152F
RGBrgb(11, 21, 47)
HSLhsl(223, 62%, 11%)
HSVhsv(223, 77%, 18%)
CMYKcmyk(76.6%, 55.3%, 0%, 81.6%)
CIE-LABlab(7.34, 5.92, -18.77)
CIE-LCHlch(7.34, 19.68, 287.50°)
OKLaboklab(20.31% -0.0038 -0.0537)
OKLCHoklch(20.31% 0.054 266)
XYZxyz(0.9191, 0.8126, 2.7972)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B152F #2F250B
analogous
#0B272F #0B152F #130B2F
triadic
#0B152F #2F0B15 #152F0B
tetradic
#0B152F #2F0B27 #2F250B #0B2F13
square
#0B152F #2F0B27 #2F250B #0B2F13
split-complementary
#0B152F #2F130B #272F0B
monochromatic
#060B19 #060B19 #0B152F #172B61 #224192

Accessibility & contrast

On white

18.06
#0B152F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B152F
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B152F#FFFFFF#000000##FFFFFF
##0B152F1.0018.061.1618.06
#FFFFFF18.061.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081830
Deuteranopia (green-blind)
#04152E
Tritanopia (blue-blind)
#001B1F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0b152f;
/* rgb */ color: rgb(11, 21, 47);
/* oklch */ color: oklch(20.3% 0.054 266.0);
Tailwind
colors: {
  custom: {
    50: '#4e5167',
    500: '#0b152f',
    950: '#000000',
  },
}
SCSS
$custom: #0b152f;
$custom-light: #4e5167;
$custom-dark: #000000;
JSON
{
  "hex": "#0b152f",
  "rgb": {
    "r": 11,
    "g": 21,
    "b": 47
  },
  "hsl": {
    "h": 223.333,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.20314,
    "c": 0.05385,
    "h": 266
  },
  "luminance": 0.00813
}

Semantic roles & 50–950 ramp

primary
#0B152F
secondary
#6B592A
accent
#B843E5
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #0B152F

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

Preview Lab → · Contrast checker → · Palette generator →

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