#0B112F#0B112F

#0B112F is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.3% C 0.060 H 271.2°. Best body text is #FFFFFF at 18.50:1 contrast (WCAG AA passes).

Color values

HEX#0B112F
RGBrgb(11, 17, 47)
HSLhsl(230, 62%, 11%)
HSVhsv(230, 77%, 18%)
CMYKcmyk(76.6%, 63.8%, 0%, 81.6%)
CIE-LABlab(6.12, 8.51, -20.72)
CIE-LCHlch(6.12, 22.40, 292.32°)
OKLaboklab(19.27% 0.0012 -0.0603)
OKLCHoklch(19.27% 0.06 271.2)
XYZxyz(0.8514, 0.6772, 2.7746)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B112F #2F290B
analogous
#0B232F #0B112F #170B2F
triadic
#0B112F #2F0B11 #112F0B
tetradic
#0B112F #2F0B23 #2F290B #0B2F17
square
#0B112F #2F0B23 #2F290B #0B2F17
split-complementary
#0B112F #2F170B #232F0B
monochromatic
#060919 #060919 #0B112F #172361 #223592

Accessibility & contrast

On white

18.50
#0B112F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#0B112F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B112F
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B112F#FFFFFF#000000##FFFFFF
##0B112F1.0018.501.1418.50
#FFFFFF18.501.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021530
Deuteranopia (green-blind)
#00122E
Tritanopia (blue-blind)
#00181D
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0b112f;
/* rgb */ color: rgb(11, 17, 47);
/* oklch */ color: oklch(19.3% 0.060 271.2);
Tailwind
colors: {
  custom: {
    50: '#4e4f68',
    500: '#0b112f',
    950: '#000000',
  },
}
SCSS
$custom: #0b112f;
$custom-light: #4e4f68;
$custom-dark: #000000;
JSON
{
  "hex": "#0b112f",
  "rgb": {
    "r": 11,
    "g": 17,
    "b": 47
  },
  "hsl": {
    "h": 230,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.1927,
    "c": 0.0603,
    "h": 271.2
  },
  "luminance": 0.00677
}

Semantic roles & 50–950 ramp

primary
#0B112F
secondary
#6B612A
accent
#CA43E5
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0B112F

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

Preview Lab → · Contrast checker → · Palette generator →

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