#0B0731#0B0731

#0B0731 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.2% C 0.079 H 278.6°. Best body text is #FFFFFF at 19.28:1 contrast (WCAG AA passes).

Color values

HEX#0B0731
RGBrgb(11, 7, 49)
HSLhsl(246, 75%, 11%)
HSVhsv(246, 86%, 19%)
CMYKcmyk(77.6%, 85.7%, 0%, 80.8%)
CIE-LABlab(4.02, 14.15, -25.56)
CIE-LCHlch(4.02, 29.21, 298.97°)
OKLaboklab(17.23% 0.0119 -0.0785)
OKLCHoklch(17.23% 0.079 278.6)
XYZxyz(0.7682, 0.4448, 2.9505)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0731 #2D3107
analogous
#071831 #0B0731 #200731
triadic
#0B0731 #310B07 #07310B
tetradic
#0B0731 #310718 #2D3107 #073120
square
#0B0731 #310718 #2D3107 #073120
split-complementary
#0B0731 #312007 #183107
monochromatic
#06041B #06041B #0B0731 #170F67 #23169C

Accessibility & contrast

On white

19.28
#0B0731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B0731
19.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0731#FFFFFF#000000##FFFFFF
##0B07311.0019.281.0919.28
#FFFFFF19.281.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001032
Deuteranopia (green-blind)
#000C30
Tritanopia (blue-blind)
#00121B
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #0b0731;
/* rgb */ color: rgb(11, 7, 49);
/* oklch */ color: oklch(17.2% 0.079 278.6);
Tailwind
colors: {
  custom: {
    50: '#4e4969',
    500: '#0b0731',
    950: '#000000',
  },
}
SCSS
$custom: #0b0731;
$custom-light: #4e4969;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0731",
  "rgb": {
    "r": 11,
    "g": 7,
    "b": 49
  },
  "hsl": {
    "h": 245.714,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.17227,
    "c": 0.07935,
    "h": 278.6
  },
  "luminance": 0.00445
}

Semantic roles & 50–950 ramp

primary
#0B0731
secondary
#697123
accent
#F236E0
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0B0731

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

Preview Lab → · Contrast checker → · Palette generator →

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