#0B1940#0B1940

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

Color values

HEX#0B1940
RGBrgb(11, 25, 64)
HSLhsl(224, 71%, 15%)
HSVhsv(224, 83%, 25%)
CMYKcmyk(82.8%, 60.9%, 0%, 74.9%)
CIE-LABlab(10.08, 10.46, -26.63)
CIE-LCHlch(10.08, 28.61, 291.45°)
OKLaboklab(22.86% -0.0058 -0.0767)
OKLCHoklch(22.86% 0.077 265.7)
XYZxyz(1.4107, 1.1364, 4.9945)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1940 #40320B
analogous
#0B3440 #0B1940 #180B40
triadic
#0B1940 #400B19 #19400B
tetradic
#0B1940 #400B34 #40320B #0B4018
square
#0B1940 #400B34 #40320B #0B4018
split-complementary
#0B1940 #40180B #34400B
monochromatic
#040A1A #040A1A #0B1940 #142D74 #1D42A8

Accessibility & contrast

On white

17.11
#0B1940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#0B1940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B1940
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1940#FFFFFF#000000##FFFFFF
##0B19401.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b1940;
/* rgb */ color: rgb(11, 25, 64);
/* oklch */ color: oklch(22.9% 0.077 265.7);
Tailwind
colors: {
  custom: {
    50: '#535575',
    500: '#0b1940',
    950: '#000000',
  },
}
SCSS
$custom: #0b1940;
$custom-light: #535575;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1940",
  "rgb": {
    "r": 11,
    "g": 25,
    "b": 64
  },
  "hsl": {
    "h": 224.151,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22861,
    "c": 0.07688,
    "h": 265.7
  },
  "luminance": 0.01137
}

Semantic roles & 50–950 ramp

primary
#0B1940
secondary
#7D672A
accent
#BE3AED
background
#F5F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0B1940

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

Preview Lab → · Contrast checker → · Palette generator →

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