#0B0340#0B0340

#0B0340 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.4% C 0.107 H 275.4°. Best body text is #FFFFFF at 19.07:1 contrast (WCAG AA passes).

Color values

HEX#0B0340
RGBrgb(11, 3, 64)
HSLhsl(248, 91%, 13%)
HSVhsv(248, 95%, 25%)
CMYKcmyk(82.8%, 95.3%, 0%, 74.9%)
CIE-LABlab(4.57, 24.27, -35.62)
CIE-LCHlch(4.57, 43.10, 304.27°)
OKLaboklab(18.41% 0.0101 -0.1062)
OKLCHoklch(18.41% 0.107 275.4)
XYZxyz(1.0957, 0.5063, 4.8895)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0340 #384003
analogous
#031940 #0B0340 #290340
triadic
#0B0340 #400B03 #03400B
tetradic
#0B0340 #400319 #384003 #034029
square
#0B0340 #400319 #384003 #034029
split-complementary
#0B0340 #402903 #194003
monochromatic
#05011D #05011D #0B0340 #15067A #1F08B5

Accessibility & contrast

On white

19.07
#0B0340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#0B0340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0340
19.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0340#FFFFFF#000000##FFFFFF
##0B03401.0019.071.1019.07
#FFFFFF19.071.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001242
Deuteranopia (green-blind)
#000D3F
Tritanopia (blue-blind)
#001622
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0b0340;
/* rgb */ color: rgb(11, 3, 64);
/* oklch */ color: oklch(18.4% 0.107 275.4);
Tailwind
colors: {
  custom: {
    50: '#544676',
    500: '#0b0340',
    950: '#000000',
  },
}
SCSS
$custom: #0b0340;
$custom-light: #544676;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0340",
  "rgb": {
    "r": 11,
    "g": 3,
    "b": 64
  },
  "hsl": {
    "h": 247.869,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.18407,
    "c": 0.10664,
    "h": 275.4
  },
  "luminance": 0.00506
}

Semantic roles & 50–950 ramp

primary
#0B0340
secondary
#75821D
accent
#FF29E3
background
#F5F3F7
surface
#E9E5ED
border
#C5C1C8
text
#030008
muted
#78777B

Preview Lab

Preview with #0B0340

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

Preview Lab → · Contrast checker → · Palette generator →

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