#0B0537#0B0537

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

Color values

HEX#0B0537
RGBrgb(11, 5, 55)
HSLhsl(247, 83%, 12%)
HSVhsv(247, 91%, 22%)
CMYKcmyk(80%, 90.9%, 0%, 78.4%)
CIE-LABlab(4.11, 18.36, -29.84)
CIE-LCHlch(4.11, 35.03, 301.60°)
OKLaboklab(17.56% 0.012 -0.0906)
OKLCHoklch(17.56% 0.091 277.5)
XYZxyz(0.8816, 0.4554, 3.6551)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0537 #313705
analogous
#051837 #0B0537 #240537
triadic
#0B0537 #370B05 #05370B
tetradic
#0B0537 #370518 #313705 #053724
square
#0B0537 #370518 #313705 #053724
split-complementary
#0B0537 #372405 #183705
monochromatic
#06031C #06031C #0B0537 #160A6F #210FA7

Accessibility & contrast

On white

19.24
#0B0537 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#0B0537 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0537
19.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0537#FFFFFF#000000##FFFFFF
##0B05371.0019.241.0919.24
#FFFFFF19.241.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001038
Deuteranopia (green-blind)
#000C36
Tritanopia (blue-blind)
#00141E
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #0b0537;
/* rgb */ color: rgb(11, 5, 55);
/* oklch */ color: oklch(17.6% 0.091 277.5);
Tailwind
colors: {
  custom: {
    50: '#51486e',
    500: '#0b0537',
    950: '#000000',
  },
}
SCSS
$custom: #0b0537;
$custom-light: #51486e;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0537",
  "rgb": {
    "r": 11,
    "g": 5,
    "b": 55
  },
  "hsl": {
    "h": 247.2,
    "s": 83.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.17562,
    "c": 0.09142,
    "h": 277.5
  },
  "luminance": 0.00456
}

Semantic roles & 50–950 ramp

primary
#0B0537
secondary
#6E7820
accent
#FA2EE1
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020007
muted
#78777A

Preview Lab

Preview with #0B0537

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

Preview Lab → · Contrast checker → · Palette generator →

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