#0B0538#0B0538

#0B0538 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.7% C 0.093 H 277.2°. Best body text is #FFFFFF at 19.21:1 contrast (WCAG AA passes).

Color values

HEX#0B0538
RGBrgb(11, 5, 56)
HSLhsl(247, 84%, 12%)
HSVhsv(247, 91%, 22%)
CMYKcmyk(80.4%, 91.1%, 0%, 78%)
CIE-LABlab(4.20, 18.94, -30.43)
CIE-LCHlch(4.20, 35.84, 301.89°)
OKLaboklab(17.7% 0.0117 -0.0921)
OKLCHoklch(17.7% 0.093 277.2)
XYZxyz(0.9059, 0.4651, 3.7827)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0538 #323805
analogous
#051938 #0B0538 #250538
triadic
#0B0538 #380B05 #05380B
tetradic
#0B0538 #380519 #323805 #053825
square
#0B0538 #380519 #323805 #053825
split-complementary
#0B0538 #382505 #193805
monochromatic
#06031C #06031C #0B0538 #160A70 #210FA8

Accessibility & contrast

On white

19.21
#0B0538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B0538
19.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0538#FFFFFF#000000##FFFFFF
##0B05381.0019.211.0919.21
#FFFFFF19.211.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b0538;
/* rgb */ color: rgb(11, 5, 56);
/* oklch */ color: oklch(17.7% 0.093 277.2);
Tailwind
colors: {
  custom: {
    50: '#51486f',
    500: '#0b0538',
    950: '#000000',
  },
}
SCSS
$custom: #0b0538;
$custom-light: #51486f;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0538",
  "rgb": {
    "r": 11,
    "g": 5,
    "b": 56
  },
  "hsl": {
    "h": 247.059,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.17695,
    "c": 0.09284,
    "h": 277.2
  },
  "luminance": 0.00465
}

Semantic roles & 50–950 ramp

primary
#0B0538
secondary
#6F7920
accent
#FA2EE2
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020007
muted
#78777A

Preview Lab

Preview with #0B0538

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

Preview Lab → · Contrast checker → · Palette generator →

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