#0B0339#0B0339

#0B0339 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.4% C 0.097 H 277.6°. Best body text is #FFFFFF at 19.33:1 contrast (WCAG AA passes).

Color values

HEX#0B0339
RGBrgb(11, 3, 57)
HSLhsl(249, 90%, 12%)
HSVhsv(249, 95%, 22%)
CMYKcmyk(80.7%, 94.7%, 0%, 77.6%)
CIE-LABlab(3.90, 20.36, -31.65)
CIE-LCHlch(3.90, 37.63, 302.75°)
OKLaboklab(17.41% 0.0129 -0.0964)
OKLCHoklch(17.41% 0.097 277.6)
XYZxyz(0.9089, 0.4316, 3.9055)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0339 #313903
analogous
#031639 #0B0339 #260339
triadic
#0B0339 #390B03 #03390B
tetradic
#0B0339 #390316 #313903 #033926
square
#0B0339 #390316 #313903 #033926
split-complementary
#0B0339 #392603 #163903
monochromatic
#06021D #06021D #0B0339 #160673 #2109AD

Accessibility & contrast

On white

19.33
#0B0339 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B0339
19.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0339#FFFFFF#000000##FFFFFF
##0B03391.0019.331.0919.33
#FFFFFF19.331.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00103A
Deuteranopia (green-blind)
#000B38
Tritanopia (blue-blind)
#00131E
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #0b0339;
/* rgb */ color: rgb(11, 3, 57);
/* oklch */ color: oklch(17.4% 0.097 277.6);
Tailwind
colors: {
  custom: {
    50: '#514770',
    500: '#0b0339',
    950: '#000000',
  },
}
SCSS
$custom: #0b0339;
$custom-light: #514770;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0339",
  "rgb": {
    "r": 11,
    "g": 3,
    "b": 57
  },
  "hsl": {
    "h": 248.889,
    "s": 90,
    "l": 11.765
  },
  "oklch": {
    "l": 0.17408,
    "c": 0.09731,
    "h": 277.6
  },
  "luminance": 0.00432
}

Semantic roles & 50–950 ramp

primary
#0B0339
secondary
#6E7C1C
accent
#FF29DF
background
#F4F3F6
surface
#E7E5EC
border
#C3C1C7
text
#020007
muted
#78777A

Preview Lab

Preview with #0B0339

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

Preview Lab → · Contrast checker → · Palette generator →

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