#0B1F47#0B1F47

#0B1F47 is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 25.0% C 0.079 H 262.3°. Best body text is #FFFFFF at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#0B1F47
RGBrgb(11, 31, 71)
HSLhsl(220, 73%, 16%)
HSVhsv(220, 85%, 28%)
CMYKcmyk(84.5%, 56.3%, 0%, 72.2%)
CIE-LABlab(12.65, 8.93, -27.38)
CIE-LCHlch(12.65, 28.80, 288.07°)
OKLaboklab(25% -0.0107 -0.0787)
OKLCHoklch(25% 0.079 262.3)
XYZxyz(1.7649, 1.5059, 6.1577)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1F47 #47330B
analogous
#0B3D47 #0B1F47 #150B47
triadic
#0B1F47 #470B1F #1F470B
tetradic
#0B1F47 #470B3D #47330B #0B4715
square
#0B1F47 #470B3D #47330B #0B4715
split-complementary
#0B1F47 #47150B #3D470B
monochromatic
#040C1A #040C1A #0B1F47 #13367C #1B4DB1

Accessibility & contrast

On white

16.14
#0B1F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#0B1F47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B1F47
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1F47#FFFFFF#000000##FFFFFF
##0B1F471.0016.141.3016.14
#FFFFFF16.141.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072448
Deuteranopia (green-blind)
#001E46
Tritanopia (blue-blind)
#00292F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0b1f47;
/* rgb */ color: rgb(11, 31, 71);
/* oklch */ color: oklch(25.0% 0.079 262.3);
Tailwind
colors: {
  custom: {
    50: '#555a7a',
    500: '#0b1f47',
    950: '#000000',
  },
}
SCSS
$custom: #0b1f47;
$custom-light: #555a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1f47",
  "rgb": {
    "r": 11,
    "g": 31,
    "b": 71
  },
  "hsl": {
    "h": 220,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.24998,
    "c": 0.07947,
    "h": 262.3
  },
  "luminance": 0.01506
}

Semantic roles & 50–950 ramp

primary
#0B1F47
secondary
#83662A
accent
#B338F0
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #0B1F47

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

Preview Lab → · Contrast checker → · Palette generator →

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