#0B0535#0B0535

#0B0535 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.3% C 0.089 H 278.2°. Best body text is #FFFFFF at 19.31:1 contrast (WCAG AA passes).

Color values

HEX#0B0535
RGBrgb(11, 5, 53)
HSLhsl(248, 83%, 11%)
HSVhsv(248, 91%, 21%)
CMYKcmyk(79.2%, 90.6%, 0%, 79.2%)
CIE-LABlab(3.94, 17.19, -28.64)
CIE-LCHlch(3.94, 33.40, 300.97°)
OKLaboklab(17.3% 0.0127 -0.0876)
OKLCHoklch(17.3% 0.089 278.2)
XYZxyz(0.8347, 0.4367, 3.4078)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0535 #2F3505
analogous
#051735 #0B0535 #230535
triadic
#0B0535 #350B05 #05350B
tetradic
#0B0535 #350517 #2F3505 #053523
square
#0B0535 #350517 #2F3505 #053523
split-complementary
#0B0535 #352305 #173505
monochromatic
#06031C #06031C #0B0535 #170A6D #2210A5

Accessibility & contrast

On white

19.31
#0B0535 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B0535
19.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0535#FFFFFF#000000##FFFFFF
##0B05351.0019.311.0919.31
#FFFFFF19.311.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001036
Deuteranopia (green-blind)
#000C34
Tritanopia (blue-blind)
#00131C
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #0b0535;
/* rgb */ color: rgb(11, 5, 53);
/* oklch */ color: oklch(17.3% 0.089 278.2);
Tailwind
colors: {
  custom: {
    50: '#50486d',
    500: '#0b0535',
    950: '#000000',
  },
}
SCSS
$custom: #0b0535;
$custom-light: #50486d;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0535",
  "rgb": {
    "r": 11,
    "g": 5,
    "b": 53
  },
  "hsl": {
    "h": 247.5,
    "s": 82.759,
    "l": 11.373
  },
  "oklch": {
    "l": 0.17296,
    "c": 0.08855,
    "h": 278.2
  },
  "luminance": 0.00437
}

Semantic roles & 50–950 ramp

primary
#0B0535
secondary
#6B7620
accent
#F92FE0
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020007
muted
#78777A

Preview Lab

Preview with #0B0535

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

Preview Lab → · Contrast checker → · Palette generator →

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