#0B0642#0B0642

#0B0642 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.2% C 0.105 H 274.2°. Best body text is #FFFFFF at 18.77:1 contrast (WCAG AA passes).

Color values

HEX#0B0642
RGBrgb(11, 6, 66)
HSLhsl(245, 83%, 14%)
HSVhsv(245, 91%, 26%)
CMYKcmyk(83.3%, 90.9%, 0%, 74.1%)
CIE-LABlab(5.37, 23.86, -35.74)
CIE-LCHlch(5.37, 42.97, 303.73°)
OKLaboklab(19.24% 0.0077 -0.1051)
OKLCHoklch(19.24% 0.105 274.2)
XYZxyz(1.1862, 0.5946, 5.2055)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0642 #3D4206
analogous
#061F42 #0B0642 #290642
triadic
#0B0642 #420B06 #06420B
tetradic
#0B0642 #42061F #3D4206 #064229
square
#0B0642 #42061F #3D4206 #064229
split-complementary
#0B0642 #422906 #1F4206
monochromatic
#05031C #05031C #0B0642 #140B7A #1E10B2

Accessibility & contrast

On white

18.77
#0B0642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B0642
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0642#FFFFFF#000000##FFFFFF
##0B06421.0018.771.1218.77
#FFFFFF18.771.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001444
Deuteranopia (green-blind)
#000F41
Tritanopia (blue-blind)
#001924
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0b0642;
/* rgb */ color: rgb(11, 6, 66);
/* oklch */ color: oklch(19.2% 0.105 274.2);
Tailwind
colors: {
  custom: {
    50: '#554877',
    500: '#0b0642',
    950: '#000000',
  },
}
SCSS
$custom: #0b0642;
$custom-light: #554877;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0642",
  "rgb": {
    "r": 11,
    "g": 6,
    "b": 66
  },
  "hsl": {
    "h": 245,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.19242,
    "c": 0.10542,
    "h": 274.2
  },
  "luminance": 0.00595
}

Semantic roles & 50–950 ramp

primary
#0B0642
secondary
#7A8222
accent
#FA2EE9
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030009
muted
#78777B

Preview Lab

Preview with #0B0642

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

Preview Lab → · Contrast checker → · Palette generator →

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