#0B0637#0B0637

#0B0637 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.8% C 0.090 H 277.1°. Best body text is #FFFFFF at 19.17:1 contrast (WCAG AA passes).

Color values

HEX#0B0637
RGBrgb(11, 6, 55)
HSLhsl(246, 80%, 12%)
HSVhsv(246, 89%, 22%)
CMYKcmyk(80%, 89.1%, 0%, 78.4%)
CIE-LABlab(4.31, 17.94, -29.52)
CIE-LCHlch(4.31, 34.54, 301.29°)
OKLaboklab(17.77% 0.0112 -0.0892)
OKLCHoklch(17.77% 0.09 277.1)
XYZxyz(0.8925, 0.4772, 3.6588)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0637 #323706
analogous
#061A37 #0B0637 #240637
triadic
#0B0637 #370B06 #06370B
tetradic
#0B0637 #37061A #323706 #063724
square
#0B0637 #37061A #323706 #063724
split-complementary
#0B0637 #372406 #1A3706
monochromatic
#06031C #06031C #0B0637 #160C6E #2112A5

Accessibility & contrast

On white

19.17
#0B0637 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#0B0637 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0637
19.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0637#FFFFFF#000000##FFFFFF
##0B06371.0019.171.1019.17
#FFFFFF19.171.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001138
Deuteranopia (green-blind)
#000D36
Tritanopia (blue-blind)
#00141E
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0b0637;
/* rgb */ color: rgb(11, 6, 55);
/* oklch */ color: oklch(17.8% 0.090 277.1);
Tailwind
colors: {
  custom: {
    50: '#51486e',
    500: '#0b0637',
    950: '#000000',
  },
}
SCSS
$custom: #0b0637;
$custom-light: #51486e;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0637",
  "rgb": {
    "r": 11,
    "g": 6,
    "b": 55
  },
  "hsl": {
    "h": 246.122,
    "s": 80.328,
    "l": 11.961
  },
  "oklch": {
    "l": 0.17772,
    "c": 0.08989,
    "h": 277.1
  },
  "luminance": 0.00477
}

Semantic roles & 50–950 ramp

primary
#0B0637
secondary
#6F7721
accent
#F731E3
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020007
muted
#78777A

Preview Lab

Preview with #0B0637

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

Preview Lab → · Contrast checker → · Palette generator →

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