#0B0641#0B0641

#0B0641 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.1% C 0.104 H 274.4°. Best body text is #FFFFFF at 18.81:1 contrast (WCAG AA passes).

Color values

HEX#0B0641
RGBrgb(11, 6, 65)
HSLhsl(245, 83%, 14%)
HSVhsv(245, 91%, 25%)
CMYKcmyk(83.1%, 90.8%, 0%, 74.5%)
CIE-LABlab(5.27, 23.36, -35.20)
CIE-LCHlch(5.27, 42.25, 303.57°)
OKLaboklab(19.11% 0.008 -0.1037)
OKLCHoklch(19.11% 0.104 274.4)
XYZxyz(1.1570, 0.5829, 5.0515)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0641 #3C4106
analogous
#061F41 #0B0641 #290641
triadic
#0B0641 #410B06 #06410B
tetradic
#0B0641 #41061F #3C4106 #064129
square
#0B0641 #41061F #3C4106 #064129
split-complementary
#0B0641 #412906 #1F4106
monochromatic
#05031C #05031C #0B0641 #140B79 #1E10B1

Accessibility & contrast

On white

18.81
#0B0641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#0B0641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0641
18.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0641#FFFFFF#000000##FFFFFF
##0B06411.0018.811.1218.81
#FFFFFF18.811.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001443
Deuteranopia (green-blind)
#000F40
Tritanopia (blue-blind)
#001824
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0b0641;
/* rgb */ color: rgb(11, 6, 65);
/* oklch */ color: oklch(19.1% 0.104 274.4);
Tailwind
colors: {
  custom: {
    50: '#554876',
    500: '#0b0641',
    950: '#000000',
  },
}
SCSS
$custom: #0b0641;
$custom-light: #554876;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0641",
  "rgb": {
    "r": 11,
    "g": 6,
    "b": 65
  },
  "hsl": {
    "h": 245.085,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.19106,
    "c": 0.10404,
    "h": 274.4
  },
  "luminance": 0.00583
}

Semantic roles & 50–950 ramp

primary
#0B0641
secondary
#798122
accent
#F92EE8
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #0B0641

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

Preview Lab → · Contrast checker → · Palette generator →

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