#0B183F#0B183F

#0B183F is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.5% C 0.077 H 266.3°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#0B183F
RGBrgb(11, 24, 63)
HSLhsl(225, 70%, 15%)
HSVhsv(225, 83%, 25%)
CMYKcmyk(82.5%, 61.9%, 0%, 75.3%)
CIE-LABlab(9.67, 10.80, -26.59)
CIE-LCHlch(9.67, 28.70, 292.11°)
OKLaboklab(22.52% -0.0049 -0.0766)
OKLCHoklch(22.52% 0.077 266.3)
XYZxyz(1.3615, 1.0832, 4.8390)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B183F #3F320B
analogous
#0B323F #0B183F #180B3F
triadic
#0B183F #3F0B18 #183F0B
tetradic
#0B183F #3F0B32 #3F320B #0B3F18
square
#0B183F #3F0B32 #3F320B #0B3F18
split-complementary
#0B183F #3F180B #323F0B
monochromatic
#050A1A #050A1A #0B183F #142C73 #1D40A7

Accessibility & contrast

On white

17.26
#0B183F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#0B183F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B183F
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B183F#FFFFFF#000000##FFFFFF
##0B183F1.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D40
Deuteranopia (green-blind)
#00193E
Tritanopia (blue-blind)
#002128
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0b183f;
/* rgb */ color: rgb(11, 24, 63);
/* oklch */ color: oklch(22.5% 0.077 266.3);
Tailwind
colors: {
  custom: {
    50: '#535474',
    500: '#0b183f',
    950: '#000000',
  },
}
SCSS
$custom: #0b183f;
$custom-light: #535474;
$custom-dark: #000000;
JSON
{
  "hex": "#0b183f",
  "rgb": {
    "r": 11,
    "g": 24,
    "b": 63
  },
  "hsl": {
    "h": 225,
    "s": 70.27,
    "l": 14.51
  },
  "oklch": {
    "l": 0.22521,
    "c": 0.07673,
    "h": 266.3
  },
  "luminance": 0.01083
}

Semantic roles & 50–950 ramp

primary
#0B183F
secondary
#7C672A
accent
#C03BED
background
#F4F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0B183F

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

Preview Lab → · Contrast checker → · Palette generator →

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