#0B113A#0B113A

#0B113A is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.4% C 0.079 H 271.1°. Best body text is #FFFFFF at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#0B113A
RGBrgb(11, 17, 58)
HSLhsl(232, 68%, 14%)
HSVhsv(232, 81%, 23%)
CMYKcmyk(81%, 70.7%, 0%, 77.3%)
CIE-LABlab(7.02, 13.93, -27.31)
CIE-LCHlch(7.02, 30.66, 297.02°)
OKLaboklab(20.37% 0.0016 -0.079)
OKLCHoklch(20.37% 0.079 271.1)
XYZxyz(1.1019, 0.7774, 4.0942)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B113A #3A340B
analogous
#0B283A #0B113A #1C0B3A
triadic
#0B113A #3A0B11 #113A0B
tetradic
#0B113A #3A0B28 #3A340B #0B3A1C
square
#0B113A #3A0B28 #3A340B #0B3A1C
split-complementary
#0B113A #3A1C0B #283A0B
monochromatic
#05081A #05081A #0B113A #15206D #1F2FA1

Accessibility & contrast

On white

18.17
#0B113A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B113A
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B113A#FFFFFF#000000##FFFFFF
##0B113A1.0018.171.1618.17
#FFFFFF18.171.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183B
Deuteranopia (green-blind)
#001339
Tritanopia (blue-blind)
#001B23
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0b113a;
/* rgb */ color: rgb(11, 17, 58);
/* oklch */ color: oklch(20.4% 0.079 271.1);
Tailwind
colors: {
  custom: {
    50: '#524e71',
    500: '#0b113a',
    950: '#000000',
  },
}
SCSS
$custom: #0b113a;
$custom-light: #524e71;
$custom-dark: #000000;
JSON
{
  "hex": "#0b113a",
  "rgb": {
    "r": 11,
    "g": 17,
    "b": 58
  },
  "hsl": {
    "h": 232.34,
    "s": 68.116,
    "l": 13.529
  },
  "oklch": {
    "l": 0.20366,
    "c": 0.07903,
    "h": 271.1
  },
  "luminance": 0.00778
}

Semantic roles & 50–950 ramp

primary
#0B113A
secondary
#776D2A
accent
#D53DEB
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #0B113A

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

Preview Lab → · Contrast checker → · Palette generator →

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