#0B043A#0B043A

#0B043A is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.8% C 0.097 H 276.9°. Best body text is #FFFFFF at 19.22:1 contrast (WCAG AA passes).

Color values

HEX#0B043A
RGBrgb(11, 4, 58)
HSLhsl(248, 87%, 12%)
HSVhsv(248, 93%, 23%)
CMYKcmyk(81%, 93.1%, 0%, 77.3%)
CIE-LABlab(4.19, 20.50, -31.91)
CIE-LCHlch(4.19, 37.93, 302.72°)
OKLaboklab(17.76% 0.0117 -0.0964)
OKLCHoklch(17.76% 0.097 276.9)
XYZxyz(0.9449, 0.4634, 4.0418)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B043A #333A04
analogous
#04183A #0B043A #26043A
triadic
#0B043A #3A0B04 #043A0B
tetradic
#0B043A #3A0418 #333A04 #043A26
square
#0B043A #3A0418 #333A04 #043A26
split-complementary
#0B043A #3A2604 #183A04
monochromatic
#05021D #05021D #0B043A #160873 #210CAD

Accessibility & contrast

On white

19.22
#0B043A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#0B043A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B043A
19.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B043A#FFFFFF#000000##FFFFFF
##0B043A1.0019.221.0919.22
#FFFFFF19.221.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00113B
Deuteranopia (green-blind)
#000C39
Tritanopia (blue-blind)
#00141F
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0b043a;
/* rgb */ color: rgb(11, 4, 58);
/* oklch */ color: oklch(17.8% 0.097 276.9);
Tailwind
colors: {
  custom: {
    50: '#524771',
    500: '#0b043a',
    950: '#000000',
  },
}
SCSS
$custom: #0b043a;
$custom-light: #524771;
$custom-dark: #000000;
JSON
{
  "hex": "#0b043a",
  "rgb": {
    "r": 11,
    "g": 4,
    "b": 58
  },
  "hsl": {
    "h": 247.778,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.17759,
    "c": 0.09714,
    "h": 276.9
  },
  "luminance": 0.00463
}

Semantic roles & 50–950 ramp

primary
#0B043A
secondary
#707C1E
accent
#FD2BE2
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#030008
muted
#78777B

Preview Lab

Preview with #0B043A

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

Preview Lab → · Contrast checker → · Palette generator →

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