#0B183B#0B183B

#0B183B is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.1% C 0.070 H 265.6°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#0B183B
RGBrgb(11, 24, 59)
HSLhsl(224, 69%, 14%)
HSVhsv(224, 81%, 23%)
CMYKcmyk(81.4%, 59.3%, 0%, 76.9%)
CIE-LABlab(9.32, 9.00, -24.30)
CIE-LCHlch(9.32, 25.91, 290.32°)
OKLaboklab(22.15% -0.0053 -0.0698)
OKLCHoklch(22.15% 0.07 265.6)
XYZxyz(1.2538, 1.0401, 4.2715)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B183B #3B2E0B
analogous
#0B303B #0B183B #160B3B
triadic
#0B183B #3B0B18 #183B0B
tetradic
#0B183B #3B0B30 #3B2E0B #0B3B16
square
#0B183B #3B0B30 #3B2E0B #0B3B16
split-complementary
#0B183B #3B160B #303B0B
monochromatic
#050A1A #050A1A #0B183B #152D6F #1E42A2

Accessibility & contrast

On white

17.38
#0B183B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#0B183B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B183B
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B183B#FFFFFF#000000##FFFFFF
##0B183B1.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041C3C
Deuteranopia (green-blind)
#00183A
Tritanopia (blue-blind)
#002026
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0b183b;
/* rgb */ color: rgb(11, 24, 59);
/* oklch */ color: oklch(22.1% 0.070 265.6);
Tailwind
colors: {
  custom: {
    50: '#515471',
    500: '#0b183b',
    950: '#000000',
  },
}
SCSS
$custom: #0b183b;
$custom-light: #515471;
$custom-dark: #000000;
JSON
{
  "hex": "#0b183b",
  "rgb": {
    "r": 11,
    "g": 24,
    "b": 59
  },
  "hsl": {
    "h": 223.75,
    "s": 68.571,
    "l": 13.725
  },
  "oklch": {
    "l": 0.2215,
    "c": 0.07003,
    "h": 265.6
  },
  "luminance": 0.0104
}

Semantic roles & 50–950 ramp

primary
#0B183B
secondary
#78632A
accent
#BC3CEB
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #0B183B

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

Preview Lab → · Contrast checker → · Palette generator →

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