#0B0647#0B0647

#0B0647 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.9% C 0.112 H 273.1°. Best body text is #FFFFFF at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#0B0647
RGBrgb(11, 6, 71)
HSLhsl(245, 84%, 15%)
HSVhsv(245, 92%, 28%)
CMYKcmyk(84.5%, 91.5%, 0%, 72.2%)
CIE-LABlab(5.93, 26.28, -38.37)
CIE-LCHlch(5.93, 46.50, 304.40°)
OKLaboklab(19.93% 0.0062 -0.112)
OKLCHoklch(19.93% 0.112 273.1)
XYZxyz(1.3401, 0.6562, 6.0160)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0647 #424706
analogous
#062247 #0B0647 #2B0647
triadic
#0B0647 #470B06 #06470B
tetradic
#0B0647 #470622 #424706 #06472B
square
#0B0647 #470622 #424706 #06472B
split-complementary
#0B0647 #472B06 #224706
monochromatic
#04021C #04021C #0B0647 #140B7F #1C10B8

Accessibility & contrast

On white

18.56
#0B0647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#0B0647 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0647
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0647#FFFFFF#000000##FFFFFF
##0B06471.0018.561.1318.56
#FFFFFF18.561.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001649
Deuteranopia (green-blind)
#001046
Tritanopia (blue-blind)
#001B27
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0b0647;
/* rgb */ color: rgb(11, 6, 71);
/* oklch */ color: oklch(19.9% 0.112 273.1);
Tailwind
colors: {
  custom: {
    50: '#57487b',
    500: '#0b0647',
    950: '#000000',
  },
}
SCSS
$custom: #0b0647;
$custom-light: #57487b;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0647",
  "rgb": {
    "r": 11,
    "g": 6,
    "b": 71
  },
  "hsl": {
    "h": 244.615,
    "s": 84.416,
    "l": 15.098
  },
  "oklch": {
    "l": 0.19929,
    "c": 0.1122,
    "h": 273.1
  },
  "luminance": 0.00656
}

Semantic roles & 50–950 ramp

primary
#0B0647
secondary
#7F8623
accent
#FB2DEB
background
#F5F4F7
surface
#E9E6EE
border
#C5C2C9
text
#040009
muted
#79777B

Preview Lab

Preview with #0B0647

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

Preview Lab → · Contrast checker → · Palette generator →

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