#0B184A#0B184A

#0B184A is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.6% C 0.094 H 267.3°. Best body text is #FFFFFF at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#0B184A
RGBrgb(11, 24, 74)
HSLhsl(228, 74%, 17%)
HSVhsv(228, 85%, 29%)
CMYKcmyk(85.1%, 67.6%, 0%, 71%)
CIE-LABlab(10.69, 15.70, -32.63)
CIE-LCHlch(10.69, 36.21, 295.70°)
OKLaboklab(23.61% -0.0044 -0.0943)
OKLCHoklch(23.61% 0.094 267.3)
XYZxyz(1.7002, 1.2186, 6.6228)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B184A #4A3D0B
analogous
#0B384A #0B184A #1E0B4A
triadic
#0B184A #4A0B18 #184A0B
tetradic
#0B184A #4A0B38 #4A3D0B #0B4A1E
square
#0B184A #4A0B38 #4A3D0B #0B4A1E
split-complementary
#0B184A #4A1E0B #384A0B
monochromatic
#04091B #04091B #0B184A #13297F #1B3BB5

Accessibility & contrast

On white

16.88
#0B184A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#0B184A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B184A
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B184A#FFFFFF#000000##FFFFFF
##0B184A1.0016.881.2416.88
#FFFFFF16.881.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204C
Deuteranopia (green-blind)
#001A49
Tritanopia (blue-blind)
#00252E
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0b184a;
/* rgb */ color: rgb(11, 24, 74);
/* oklch */ color: oklch(23.6% 0.094 267.3);
Tailwind
colors: {
  custom: {
    50: '#56547d',
    500: '#0b184a',
    950: '#000000',
  },
}
SCSS
$custom: #0b184a;
$custom-light: #56547d;
$custom-dark: #000000;
JSON
{
  "hex": "#0b184a",
  "rgb": {
    "r": 11,
    "g": 24,
    "b": 74
  },
  "hsl": {
    "h": 227.619,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.23612,
    "c": 0.09441,
    "h": 267.3
  },
  "luminance": 0.01219
}

Semantic roles & 50–950 ramp

primary
#0B184A
secondary
#86732B
accent
#CA37F1
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#03020A
muted
#78787C

Preview Lab

Preview with #0B184A

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

Preview Lab → · Contrast checker → · Palette generator →

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