#0B082F#0B082F

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

Color values

HEX#0B082F
RGBrgb(11, 8, 47)
HSLhsl(245, 71%, 11%)
HSVhsv(245, 83%, 18%)
CMYKcmyk(76.6%, 83%, 0%, 81.6%)
CIE-LABlab(4.06, 12.70, -23.99)
CIE-LCHlch(4.06, 27.15, 297.90°)
OKLaboklab(17.21% 0.0113 -0.0737)
OKLCHoklch(17.21% 0.075 278.7)
XYZxyz(0.7378, 0.4500, 2.7368)
Luminance0.0045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B082F #2C2F08
analogous
#08182F #0B082F #1E082F
triadic
#0B082F #2F0B08 #082F0B
tetradic
#0B082F #2F0818 #2C2F08 #082F1E
square
#0B082F #2F0818 #2C2F08 #082F1E
split-complementary
#0B082F #2F1E08 #182F08
monochromatic
#06041A #06041A #0B082F #171163 #231A98

Accessibility & contrast

On white

19.27
#0B082F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B082F
19.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B082F#FFFFFF#000000##FFFFFF
##0B082F1.0019.271.0919.27
#FFFFFF19.271.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001030
Deuteranopia (green-blind)
#000D2E
Tritanopia (blue-blind)
#00121A
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #0b082f;
/* rgb */ color: rgb(11, 8, 47);
/* oklch */ color: oklch(17.2% 0.075 278.7);
Tailwind
colors: {
  custom: {
    50: '#4e4a68',
    500: '#0b082f',
    950: '#000000',
  },
}
SCSS
$custom: #0b082f;
$custom-light: #4e4a68;
$custom-dark: #000000;
JSON
{
  "hex": "#0b082f",
  "rgb": {
    "r": 11,
    "g": 8,
    "b": 47
  },
  "hsl": {
    "h": 244.615,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.17208,
    "c": 0.07459,
    "h": 278.7
  },
  "luminance": 0.0045
}

Semantic roles & 50–950 ramp

primary
#0B082F
secondary
#686E25
accent
#EE3AE0
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0B082F

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

Preview Lab → · Contrast checker → · Palette generator →

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