#0B183C#0B183C

#0B183C is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.2% C 0.072 H 265.8°. Best body text is #FFFFFF at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#0B183C
RGBrgb(11, 24, 60)
HSLhsl(224, 69%, 14%)
HSVhsv(224, 82%, 24%)
CMYKcmyk(81.7%, 60%, 0%, 76.5%)
CIE-LABlab(9.41, 9.45, -24.88)
CIE-LCHlch(9.41, 26.61, 290.80°)
OKLaboklab(22.24% -0.0052 -0.0715)
OKLCHoklch(22.24% 0.072 265.8)
XYZxyz(1.2800, 1.0505, 4.4094)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B183C #3C2F0B
analogous
#0B313C #0B183C #170B3C
triadic
#0B183C #3C0B18 #183C0B
tetradic
#0B183C #3C0B31 #3C2F0B #0B3C17
square
#0B183C #3C0B31 #3C2F0B #0B3C17
split-complementary
#0B183C #3C170B #313C0B
monochromatic
#050A1A #050A1A #0B183C #142D70 #1E41A3

Accessibility & contrast

On white

17.35
#0B183C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B183C
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B183C#FFFFFF#000000##FFFFFF
##0B183C1.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031D3D
Deuteranopia (green-blind)
#00183B
Tritanopia (blue-blind)
#002127
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0b183c;
/* rgb */ color: rgb(11, 24, 60);
/* oklch */ color: oklch(22.2% 0.072 265.8);
Tailwind
colors: {
  custom: {
    50: '#525472',
    500: '#0b183c',
    950: '#000000',
  },
}
SCSS
$custom: #0b183c;
$custom-light: #525472;
$custom-dark: #000000;
JSON
{
  "hex": "#0b183c",
  "rgb": {
    "r": 11,
    "g": 24,
    "b": 60
  },
  "hsl": {
    "h": 224.082,
    "s": 69.014,
    "l": 13.922
  },
  "oklch": {
    "l": 0.22241,
    "c": 0.07172,
    "h": 265.8
  },
  "luminance": 0.01051
}

Semantic roles & 50–950 ramp

primary
#0B183C
secondary
#79642A
accent
#BD3CEC
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020208
muted
#78787B

Preview Lab

Preview with #0B183C

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

Preview Lab → · Contrast checker → · Palette generator →

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