#0B0628#0B0628

#0B0628 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 15.9% C 0.067 H 283.1°. Best body text is #FFFFFF at 19.61:1 contrast (WCAG AA passes).

Color values

HEX#0B0628
RGBrgb(11, 6, 40)
HSLhsl(249, 74%, 9%)
HSVhsv(249, 85%, 16%)
CMYKcmyk(72.5%, 85%, 0%, 84.3%)
CIE-LABlab(3.20, 10.20, -20.05)
CIE-LCHlch(3.20, 22.50, 296.96°)
OKLaboklab(15.91% 0.0152 -0.0652)
OKLCHoklch(15.91% 0.067 283.1)
XYZxyz(0.5860, 0.3546, 2.0446)
Luminance0.0036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0628 #232806
analogous
#061228 #0B0628 #1C0628
triadic
#0B0628 #280B06 #06280B
tetradic
#0B0628 #280612 #232806 #06281C
square
#0B0628 #280612 #232806 #06281C
split-complementary
#0B0628 #281C06 #122806
monochromatic
#07041B #07041B #0B0628 #1A0E5D #281692

Accessibility & contrast

On white

19.61
#0B0628 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#0B0628 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0628
19.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0628#FFFFFF#000000##FFFFFF
##0B06281.0019.611.0719.61
#FFFFFF19.611.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D29
Deuteranopia (green-blind)
#000A27
Tritanopia (blue-blind)
#010E15
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #0b0628;
/* rgb */ color: rgb(11, 6, 40);
/* oklch */ color: oklch(15.9% 0.067 283.1);
Tailwind
colors: {
  custom: {
    50: '#4c4962',
    500: '#0b0628',
    950: '#000000',
  },
}
SCSS
$custom: #0b0628;
$custom-light: #4c4962;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0628",
  "rgb": {
    "r": 11,
    "g": 6,
    "b": 40
  },
  "hsl": {
    "h": 248.824,
    "s": 73.913,
    "l": 9.02
  },
  "oklch": {
    "l": 0.15913,
    "c": 0.06697,
    "h": 283.1
  },
  "luminance": 0.00355
}

Semantic roles & 50–950 ramp

primary
#0B0628
secondary
#5E6921
accent
#F137D5
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#010005
muted
#777779

Preview Lab

Preview with #0B0628

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

Preview Lab → · Contrast checker → · Palette generator →

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