#0B152C#0B152C

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

Color values

HEX#0B152C
RGBrgb(11, 21, 44)
HSLhsl(222, 60%, 11%)
HSVhsv(222, 75%, 17%)
CMYKcmyk(75%, 52.3%, 0%, 82.7%)
CIE-LABlab(7.13, 4.52, -16.89)
CIE-LCHlch(7.13, 17.48, 284.98°)
OKLaboklab(20.07% -0.0045 -0.0483)
OKLCHoklch(20.07% 0.048 264.7)
XYZxyz(0.8606, 0.7893, 2.4894)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B152C #2C220B
analogous
#0B252C #0B152C #110B2C
triadic
#0B152C #2C0B15 #152C0B
tetradic
#0B152C #2C0B25 #2C220B #0B2C11
square
#0B152C #2C0B25 #2C220B #0B2C11
split-complementary
#0B152C #2C110B #252C0B
monochromatic
#060C18 #060C18 #0B152C #172C5D #23448E

Accessibility & contrast

On white

18.14
#0B152C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B152C
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B152C#FFFFFF#000000##FFFFFF
##0B152C1.0018.141.1618.14
#FFFFFF18.141.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b152c;
/* rgb */ color: rgb(11, 21, 44);
/* oklch */ color: oklch(20.1% 0.048 264.7);
Tailwind
colors: {
  custom: {
    50: '#4d5165',
    500: '#0b152c',
    950: '#000000',
  },
}
SCSS
$custom: #0b152c;
$custom-light: #4d5165;
$custom-dark: #000000;
JSON
{
  "hex": "#0b152c",
  "rgb": {
    "r": 11,
    "g": 21,
    "b": 44
  },
  "hsl": {
    "h": 221.818,
    "s": 60,
    "l": 10.784
  },
  "oklch": {
    "l": 0.20068,
    "c": 0.04847,
    "h": 264.7
  },
  "luminance": 0.00789
}

Semantic roles & 50–950 ramp

primary
#0B152C
secondary
#68562B
accent
#B345E3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010205
muted
#77787A

Preview Lab

Preview with #0B152C

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

Preview Lab → · Contrast checker → · Palette generator →

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