#0B0534#0B0534

#0B0534 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.2% C 0.087 H 278.6°. Best body text is #FFFFFF at 19.34:1 contrast (WCAG AA passes).

Color values

HEX#0B0534
RGBrgb(11, 5, 52)
HSLhsl(248, 82%, 11%)
HSVhsv(248, 90%, 20%)
CMYKcmyk(78.8%, 90.4%, 0%, 79.6%)
CIE-LABlab(3.86, 16.61, -28.03)
CIE-LCHlch(3.86, 32.59, 300.65°)
OKLaboklab(17.16% 0.013 -0.0861)
OKLCHoklch(17.16% 0.087 278.6)
XYZxyz(0.8119, 0.4276, 3.2879)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0534 #2E3405
analogous
#051634 #0B0534 #220534
triadic
#0B0534 #340B05 #05340B
tetradic
#0B0534 #340516 #2E3405 #053422
square
#0B0534 #340516 #2E3405 #053422
split-complementary
#0B0534 #342205 #163405
monochromatic
#06031C #06031C #0B0534 #170A6C #2310A4

Accessibility & contrast

On white

19.34
#0B0534 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B0534
19.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0534#FFFFFF#000000##FFFFFF
##0B05341.0019.341.0919.34
#FFFFFF19.341.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001035
Deuteranopia (green-blind)
#000C33
Tritanopia (blue-blind)
#00121C
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #0b0534;
/* rgb */ color: rgb(11, 5, 52);
/* oklch */ color: oklch(17.2% 0.087 278.6);
Tailwind
colors: {
  custom: {
    50: '#4f486c',
    500: '#0b0534',
    950: '#000000',
  },
}
SCSS
$custom: #0b0534;
$custom-light: #4f486c;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0534",
  "rgb": {
    "r": 11,
    "g": 5,
    "b": 52
  },
  "hsl": {
    "h": 247.66,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.17164,
    "c": 0.08711,
    "h": 278.6
  },
  "luminance": 0.00428
}

Semantic roles & 50–950 ramp

primary
#0B0534
secondary
#6A751F
accent
#F92FDF
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020007
muted
#78777A

Preview Lab

Preview with #0B0534

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

Preview Lab → · Contrast checker → · Palette generator →

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