#0B183A#0B183A

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

Color values

HEX#0B183A
RGBrgb(11, 24, 58)
HSLhsl(223, 68%, 14%)
HSVhsv(223, 81%, 23%)
CMYKcmyk(81%, 58.6%, 0%, 77.3%)
CIE-LABlab(9.24, 8.55, -23.72)
CIE-LCHlch(9.24, 25.21, 289.82°)
OKLaboklab(22.06% -0.0055 -0.0681)
OKLCHoklch(22.06% 0.068 265.4)
XYZxyz(1.2281, 1.0298, 4.1362)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B183A #3A2D0B
analogous
#0B2F3A #0B183A #150B3A
triadic
#0B183A #3A0B18 #183A0B
tetradic
#0B183A #3A0B2F #3A2D0B #0B3A15
square
#0B183A #3A0B2F #3A2D0B #0B3A15
split-complementary
#0B183A #3A150B #2F3A0B
monochromatic
#050B1A #050B1A #0B183A #152D6D #1F43A1

Accessibility & contrast

On white

17.41
#0B183A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B183A
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B183A#FFFFFF#000000##FFFFFF
##0B183A1.0017.411.2117.41
#FFFFFF17.411.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051C3B
Deuteranopia (green-blind)
#001839
Tritanopia (blue-blind)
#002026
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0b183a;
/* rgb */ color: rgb(11, 24, 58);
/* oklch */ color: oklch(22.1% 0.068 265.4);
Tailwind
colors: {
  custom: {
    50: '#515470',
    500: '#0b183a',
    950: '#000000',
  },
}
SCSS
$custom: #0b183a;
$custom-light: #515470;
$custom-dark: #000000;
JSON
{
  "hex": "#0b183a",
  "rgb": {
    "r": 11,
    "g": 24,
    "b": 58
  },
  "hsl": {
    "h": 223.404,
    "s": 68.116,
    "l": 13.529
  },
  "oklch": {
    "l": 0.2206,
    "c": 0.06835,
    "h": 265.4
  },
  "luminance": 0.0103
}

Semantic roles & 50–950 ramp

primary
#0B183A
secondary
#77622A
accent
#BB3DEB
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #0B183A

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

Preview Lab → · Contrast checker → · Palette generator →

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