#0B0638#0B0638

#0B0638 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.9% C 0.091 H 276.8°. Best body text is #FFFFFF at 19.14:1 contrast (WCAG AA passes).

Color values

HEX#0B0638
RGBrgb(11, 6, 56)
HSLhsl(246, 81%, 12%)
HSVhsv(246, 89%, 22%)
CMYKcmyk(80.4%, 89.3%, 0%, 78%)
CIE-LABlab(4.40, 18.51, -30.11)
CIE-LCHlch(4.40, 35.35, 301.58°)
OKLaboklab(17.9% 0.0109 -0.0907)
OKLCHoklch(17.9% 0.091 276.8)
XYZxyz(0.9167, 0.4868, 3.7863)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0638 #333806
analogous
#061A38 #0B0638 #240638
triadic
#0B0638 #380B06 #06380B
tetradic
#0B0638 #38061A #333806 #063824
square
#0B0638 #38061A #333806 #063824
split-complementary
#0B0638 #382406 #1A3806
monochromatic
#05031C #05031C #0B0638 #160C6F #2112A7

Accessibility & contrast

On white

19.14
#0B0638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B0638
19.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0638#FFFFFF#000000##FFFFFF
##0B06381.0019.141.1019.14
#FFFFFF19.141.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001139
Deuteranopia (green-blind)
#000D37
Tritanopia (blue-blind)
#00151E
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0b0638;
/* rgb */ color: rgb(11, 6, 56);
/* oklch */ color: oklch(17.9% 0.091 276.8);
Tailwind
colors: {
  custom: {
    50: '#51486f',
    500: '#0b0638',
    950: '#000000',
  },
}
SCSS
$custom: #0b0638;
$custom-light: #51486f;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0638",
  "rgb": {
    "r": 11,
    "g": 6,
    "b": 56
  },
  "hsl": {
    "h": 246,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.17902,
    "c": 0.09135,
    "h": 276.8
  },
  "luminance": 0.00487
}

Semantic roles & 50–950 ramp

primary
#0B0638
secondary
#707821
accent
#F731E3
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020007
muted
#78777A

Preview Lab

Preview with #0B0638

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

Preview Lab → · Contrast checker → · Palette generator →

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