#0B113E#0B113E

#0B113E is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.8% C 0.085 H 270.9°. Best body text is #FFFFFF at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#0B113E
RGBrgb(11, 17, 62)
HSLhsl(233, 70%, 14%)
HSVhsv(233, 82%, 24%)
CMYKcmyk(82.3%, 72.6%, 0%, 75.7%)
CIE-LABlab(7.40, 15.79, -29.56)
CIE-LCHlch(7.40, 33.52, 298.11°)
OKLaboklab(20.79% 0.0014 -0.0855)
OKLCHoklch(20.79% 0.085 270.9)
XYZxyz(1.2077, 0.8197, 4.6511)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B113E #3E380B
analogous
#0B2B3E #0B113E #1F0B3E
triadic
#0B113E #3E0B11 #113E0B
tetradic
#0B113E #3E0B2B #3E380B #0B3E1F
square
#0B113E #3E0B2B #3E380B #0B3E1F
split-complementary
#0B113E #3E1F0B #2B3E0B
monochromatic
#05071A #05071A #0B113E #141F72 #1D2EA6

Accessibility & contrast

On white

18.04
#0B113E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B113E
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B113E#FFFFFF#000000##FFFFFF
##0B113E1.0018.041.1618.04
#FFFFFF18.041.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193F
Deuteranopia (green-blind)
#00143D
Tritanopia (blue-blind)
#001D25
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0b113e;
/* rgb */ color: rgb(11, 17, 62);
/* oklch */ color: oklch(20.8% 0.085 270.9);
Tailwind
colors: {
  custom: {
    50: '#534e74',
    500: '#0b113e',
    950: '#000000',
  },
}
SCSS
$custom: #0b113e;
$custom-light: #534e74;
$custom-dark: #000000;
JSON
{
  "hex": "#0b113e",
  "rgb": {
    "r": 11,
    "g": 17,
    "b": 62
  },
  "hsl": {
    "h": 232.941,
    "s": 69.863,
    "l": 14.314
  },
  "oklch": {
    "l": 0.20794,
    "c": 0.08549,
    "h": 270.9
  },
  "luminance": 0.0082
}

Semantic roles & 50–950 ramp

primary
#0B113E
secondary
#7B712A
accent
#D83BED
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0B113E

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

Preview Lab → · Contrast checker → · Palette generator →

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