#0B152E#0B152E

#0B152E is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.2% C 0.052 H 265.6°. Best body text is #FFFFFF at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#0B152E
RGBrgb(11, 21, 46)
HSLhsl(223, 61%, 11%)
HSVhsv(223, 76%, 18%)
CMYKcmyk(76.1%, 54.3%, 0%, 82%)
CIE-LABlab(7.27, 5.45, -18.15)
CIE-LCHlch(7.27, 18.95, 286.71°)
OKLaboklab(20.23% -0.004 -0.0519)
OKLCHoklch(20.23% 0.052 265.6)
XYZxyz(0.8991, 0.8047, 2.6922)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B152E #2E240B
analogous
#0B262E #0B152E #120B2E
triadic
#0B152E #2E0B15 #152E0B
tetradic
#0B152E #2E0B26 #2E240B #0B2E12
square
#0B152E #2E0B26 #2E240B #0B2E12
split-complementary
#0B152E #2E120B #262E0B
monochromatic
#060B19 #060B19 #0B152E #172C5F #234291

Accessibility & contrast

On white

18.09
#0B152E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B152E
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B152E#FFFFFF#000000##FFFFFF
##0B152E1.0018.091.1618.09
#FFFFFF18.091.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09182F
Deuteranopia (green-blind)
#05152D
Tritanopia (blue-blind)
#001B1F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0b152e;
/* rgb */ color: rgb(11, 21, 46);
/* oklch */ color: oklch(20.2% 0.052 265.6);
Tailwind
colors: {
  custom: {
    50: '#4e5167',
    500: '#0b152e',
    950: '#000000',
  },
}
SCSS
$custom: #0b152e;
$custom-light: #4e5167;
$custom-dark: #000000;
JSON
{
  "hex": "#0b152e",
  "rgb": {
    "r": 11,
    "g": 21,
    "b": 46
  },
  "hsl": {
    "h": 222.857,
    "s": 61.404,
    "l": 11.176
  },
  "oklch": {
    "l": 0.20231,
    "c": 0.05206,
    "h": 265.6
  },
  "luminance": 0.00805
}

Semantic roles & 50–950 ramp

primary
#0B152E
secondary
#6A582A
accent
#B643E5
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #0B152E

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

Preview Lab → · Contrast checker → · Palette generator →

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