#0B112D#0B112D

#0B112D is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.1% C 0.057 H 271.0°. Best body text is #FFFFFF at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#0B112D
RGBrgb(11, 17, 45)
HSLhsl(229, 61%, 11%)
HSVhsv(229, 76%, 18%)
CMYKcmyk(75.6%, 62.2%, 0%, 82.4%)
CIE-LABlab(5.97, 7.51, -19.46)
CIE-LCHlch(5.97, 20.86, 291.10°)
OKLaboklab(19.09% 0.001 -0.0567)
OKLCHoklch(19.09% 0.057 271)
XYZxyz(0.8120, 0.6614, 2.5670)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B112D #2D270B
analogous
#0B222D #0B112D #160B2D
triadic
#0B112D #2D0B11 #112D0B
tetradic
#0B112D #2D0B22 #2D270B #0B2D16
square
#0B112D #2D0B22 #2D270B #0B2D16
split-complementary
#0B112D #2D160B #222D0B
monochromatic
#060919 #060919 #0B112D #17245E #23368F

Accessibility & contrast

On white

18.54
#0B112D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#0B112D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B112D
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B112D#FFFFFF#000000##FFFFFF
##0B112D1.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03152E
Deuteranopia (green-blind)
#00122C
Tritanopia (blue-blind)
#00171C
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0b112d;
/* rgb */ color: rgb(11, 17, 45);
/* oklch */ color: oklch(19.1% 0.057 271.0);
Tailwind
colors: {
  custom: {
    50: '#4e4f66',
    500: '#0b112d',
    950: '#000000',
  },
}
SCSS
$custom: #0b112d;
$custom-light: #4e4f66;
$custom-dark: #000000;
JSON
{
  "hex": "#0b112d",
  "rgb": {
    "r": 11,
    "g": 17,
    "b": 45
  },
  "hsl": {
    "h": 229.412,
    "s": 60.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.19085,
    "c": 0.05674,
    "h": 271
  },
  "luminance": 0.00662
}

Semantic roles & 50–950 ramp

primary
#0B112D
secondary
#695E2A
accent
#C844E4
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0B112D

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

Preview Lab → · Contrast checker → · Palette generator →

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