#0B183E#0B183E

#0B183E is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.4% C 0.075 H 266.2°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#0B183E
RGBrgb(11, 24, 62)
HSLhsl(225, 70%, 14%)
HSVhsv(225, 82%, 24%)
CMYKcmyk(82.3%, 61.3%, 0%, 75.7%)
CIE-LABlab(9.58, 10.35, -26.02)
CIE-LCHlch(9.58, 28.01, 291.69°)
OKLaboklab(22.43% -0.005 -0.0749)
OKLCHoklch(22.43% 0.075 266.2)
XYZxyz(1.3338, 1.0721, 4.6931)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B183E #3E310B
analogous
#0B323E #0B183E #180B3E
triadic
#0B183E #3E0B18 #183E0B
tetradic
#0B183E #3E0B32 #3E310B #0B3E18
square
#0B183E #3E0B32 #3E310B #0B3E18
split-complementary
#0B183E #3E180B #323E0B
monochromatic
#050A1A #050A1A #0B183E #142C72 #1D40A6

Accessibility & contrast

On white

17.29
#0B183E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B183E
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B183E#FFFFFF#000000##FFFFFF
##0B183E1.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011D3F
Deuteranopia (green-blind)
#00183D
Tritanopia (blue-blind)
#002128
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0b183e;
/* rgb */ color: rgb(11, 24, 62);
/* oklch */ color: oklch(22.4% 0.075 266.2);
Tailwind
colors: {
  custom: {
    50: '#525474',
    500: '#0b183e',
    950: '#000000',
  },
}
SCSS
$custom: #0b183e;
$custom-light: #525474;
$custom-dark: #000000;
JSON
{
  "hex": "#0b183e",
  "rgb": {
    "r": 11,
    "g": 24,
    "b": 62
  },
  "hsl": {
    "h": 224.706,
    "s": 69.863,
    "l": 14.314
  },
  "oklch": {
    "l": 0.22427,
    "c": 0.07507,
    "h": 266.2
  },
  "luminance": 0.01072
}

Semantic roles & 50–950 ramp

primary
#0B183E
secondary
#7B662A
accent
#BF3BED
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0B183E

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

Preview Lab → · Contrast checker → · Palette generator →

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