#0B1840#0B1840

#0B1840 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.6% C 0.078 H 266.5°. Best body text is #FFFFFF at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#0B1840
RGBrgb(11, 24, 64)
HSLhsl(225, 71%, 15%)
HSVhsv(225, 83%, 25%)
CMYKcmyk(82.8%, 62.5%, 0%, 74.9%)
CIE-LABlab(9.75, 11.25, -27.16)
CIE-LCHlch(9.75, 29.40, 292.51°)
OKLaboklab(22.62% -0.0048 -0.0782)
OKLCHoklch(22.62% 0.078 266.5)
XYZxyz(1.3897, 1.0944, 4.9875)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1840 #40330B
analogous
#0B3340 #0B1840 #190B40
triadic
#0B1840 #400B18 #18400B
tetradic
#0B1840 #400B33 #40330B #0B4019
square
#0B1840 #400B33 #40330B #0B4019
split-complementary
#0B1840 #40190B #33400B
monochromatic
#040A1A #040A1A #0B1840 #142C74 #1D3FA8

Accessibility & contrast

On white

17.23
#0B1840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B1840
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1840#FFFFFF#000000##FFFFFF
##0B18401.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E41
Deuteranopia (green-blind)
#00193F
Tritanopia (blue-blind)
#002229
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0b1840;
/* rgb */ color: rgb(11, 24, 64);
/* oklch */ color: oklch(22.6% 0.078 266.5);
Tailwind
colors: {
  custom: {
    50: '#535475',
    500: '#0b1840',
    950: '#000000',
  },
}
SCSS
$custom: #0b1840;
$custom-light: #535475;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1840",
  "rgb": {
    "r": 11,
    "g": 24,
    "b": 64
  },
  "hsl": {
    "h": 225.283,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22616,
    "c": 0.07838,
    "h": 266.5
  },
  "luminance": 0.01095
}

Semantic roles & 50–950 ramp

primary
#0B1840
secondary
#7D682A
accent
#C23AED
background
#F5F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0B1840

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

Preview Lab → · Contrast checker → · Palette generator →

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