#0B0334#0B0334

#0B0334 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.7% C 0.090 H 279.5°. Best body text is #FFFFFF at 19.50:1 contrast (WCAG AA passes).

Color values

HEX#0B0334
RGBrgb(11, 3, 52)
HSLhsl(250, 89%, 11%)
HSVhsv(250, 94%, 20%)
CMYKcmyk(78.8%, 94.2%, 0%, 79.6%)
CIE-LABlab(3.47, 17.41, -28.67)
CIE-LCHlch(3.47, 33.54, 301.28°)
OKLaboklab(16.71% 0.015 -0.0892)
OKLCHoklch(16.71% 0.09 279.5)
XYZxyz(0.7902, 0.3841, 3.2806)
Luminance0.0038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0334 #2C3403
analogous
#031334 #0B0334 #230334
triadic
#0B0334 #340B03 #03340B
tetradic
#0B0334 #340313 #2C3403 #033423
square
#0B0334 #340313 #2C3403 #033423
split-complementary
#0B0334 #342303 #133403
monochromatic
#06021D #06021D #0B0334 #17066E #230AA8

Accessibility & contrast

On white

19.50
#0B0334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#0B0334 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0334
19.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0334#FFFFFF#000000##FFFFFF
##0B03341.0019.501.0819.50
#FFFFFF19.501.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E35
Deuteranopia (green-blind)
#000A33
Tritanopia (blue-blind)
#00111B
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #0b0334;
/* rgb */ color: rgb(11, 3, 52);
/* oklch */ color: oklch(16.7% 0.090 279.5);
Tailwind
colors: {
  custom: {
    50: '#4f476c',
    500: '#0b0334',
    950: '#000000',
  },
}
SCSS
$custom: #0b0334;
$custom-light: #4f476c;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0334",
  "rgb": {
    "r": 11,
    "g": 3,
    "b": 52
  },
  "hsl": {
    "h": 249.796,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.16707,
    "c": 0.09049,
    "h": 279.5
  },
  "luminance": 0.00384
}

Semantic roles & 50–950 ramp

primary
#0B0334
secondary
#68771C
accent
#FF29DC
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020007
muted
#78777A

Preview Lab

Preview with #0B0334

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

Preview Lab → · Contrast checker → · Palette generator →

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