#0B1A47#0B1A47

#0B1A47 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.8% C 0.087 H 265.9°. Best body text is #FFFFFF at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#0B1A47
RGBrgb(11, 26, 71)
HSLhsl(225, 73%, 16%)
HSVhsv(225, 85%, 28%)
CMYKcmyk(84.5%, 63.4%, 0%, 72.2%)
CIE-LABlab(11.03, 12.82, -30.00)
CIE-LCHlch(11.03, 32.63, 293.14°)
OKLaboklab(23.77% -0.0061 -0.0866)
OKLCHoklch(23.77% 0.087 265.9)
XYZxyz(1.6443, 1.2647, 6.1175)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1A47 #47380B
analogous
#0B3847 #0B1A47 #1A0B47
triadic
#0B1A47 #470B1A #1A470B
tetradic
#0B1A47 #470B38 #47380B #0B471A
square
#0B1A47 #470B38 #47380B #0B471A
split-complementary
#0B1A47 #471A0B #38470B
monochromatic
#040A1A #040A1A #0B1A47 #132D7C #1B41B1

Accessibility & contrast

On white

16.76
#0B1A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#0B1A47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B1A47
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1A47#FFFFFF#000000##FFFFFF
##0B1A471.0016.761.2516.76
#FFFFFF16.761.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002049
Deuteranopia (green-blind)
#001B46
Tritanopia (blue-blind)
#00252D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0b1a47;
/* rgb */ color: rgb(11, 26, 71);
/* oklch */ color: oklch(23.8% 0.087 265.9);
Tailwind
colors: {
  custom: {
    50: '#55567b',
    500: '#0b1a47',
    950: '#000000',
  },
}
SCSS
$custom: #0b1a47;
$custom-light: #55567b;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1a47",
  "rgb": {
    "r": 11,
    "g": 26,
    "b": 71
  },
  "hsl": {
    "h": 225,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.23772,
    "c": 0.08679,
    "h": 265.9
  },
  "luminance": 0.01265
}

Semantic roles & 50–950 ramp

primary
#0B1A47
secondary
#836D2A
accent
#C238F0
background
#F5F4F7
surface
#E9E8EE
border
#C5C4C9
text
#030309
muted
#78787B

Preview Lab

Preview with #0B1A47

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

Preview Lab → · Contrast checker → · Palette generator →

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