#0B0337#0B0337

#0B0337 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.1% C 0.095 H 278.3°. Best body text is #FFFFFF at 19.40:1 contrast (WCAG AA passes).

Color values

HEX#0B0337
RGBrgb(11, 3, 55)
HSLhsl(249, 90%, 11%)
HSVhsv(249, 95%, 22%)
CMYKcmyk(80%, 94.5%, 0%, 78.4%)
CIE-LABlab(3.72, 19.18, -30.47)
CIE-LCHlch(3.72, 36.01, 302.19°)
OKLaboklab(17.13% 0.0137 -0.0936)
OKLCHoklch(17.13% 0.095 278.3)
XYZxyz(0.8599, 0.4120, 3.6479)
Luminance0.0041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0337 #2F3703
analogous
#031537 #0B0337 #250337
triadic
#0B0337 #370B03 #03370B
tetradic
#0B0337 #370315 #2F3703 #033725
square
#0B0337 #370315 #2F3703 #033725
split-complementary
#0B0337 #372503 #153703
monochromatic
#06021D #06021D #0B0337 #170671 #2209AB

Accessibility & contrast

On white

19.40
#0B0337 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B0337
19.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0337#FFFFFF#000000##FFFFFF
##0B03371.0019.401.0819.40
#FFFFFF19.401.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F38
Deuteranopia (green-blind)
#000B36
Tritanopia (blue-blind)
#00121D
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #0b0337;
/* rgb */ color: rgb(11, 3, 55);
/* oklch */ color: oklch(17.1% 0.095 278.3);
Tailwind
colors: {
  custom: {
    50: '#50476e',
    500: '#0b0337',
    950: '#000000',
  },
}
SCSS
$custom: #0b0337;
$custom-light: #50476e;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0337",
  "rgb": {
    "r": 11,
    "g": 3,
    "b": 55
  },
  "hsl": {
    "h": 249.231,
    "s": 89.655,
    "l": 11.373
  },
  "oklch": {
    "l": 0.17126,
    "c": 0.0946,
    "h": 278.3
  },
  "luminance": 0.00412
}

Semantic roles & 50–950 ramp

primary
#0B0337
secondary
#6B7A1C
accent
#FF29DE
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020007
muted
#78777A

Preview Lab

Preview with #0B0337

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

Preview Lab → · Contrast checker → · Palette generator →

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