#0B0740#0B0740

#0B0740 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.1% C 0.101 H 274.4°. Best body text is #FFFFFF at 18.77:1 contrast (WCAG AA passes).

Color values

HEX#0B0740
RGBrgb(11, 7, 64)
HSLhsl(244, 80%, 14%)
HSVhsv(244, 89%, 25%)
CMYKcmyk(82.8%, 89.1%, 0%, 74.9%)
CIE-LABlab(5.36, 22.36, -34.33)
CIE-LCHlch(5.36, 40.97, 303.08°)
OKLaboklab(19.15% 0.0078 -0.1011)
OKLCHoklch(19.15% 0.101 274.4)
XYZxyz(1.1391, 0.5932, 4.9040)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0740 #3C4007
analogous
#072040 #0B0740 #280740
triadic
#0B0740 #400B07 #07400B
tetradic
#0B0740 #400720 #3C4007 #074028
square
#0B0740 #400720 #3C4007 #074028
split-complementary
#0B0740 #402807 #204007
monochromatic
#05031C #05031C #0B0740 #140D77 #1E13AE

Accessibility & contrast

On white

18.77
#0B0740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#0B0740 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0740
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0740#FFFFFF#000000##FFFFFF
##0B07401.0018.771.1218.77
#FFFFFF18.771.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001442
Deuteranopia (green-blind)
#000F3F
Tritanopia (blue-blind)
#001823
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0b0740;
/* rgb */ color: rgb(11, 7, 64);
/* oklch */ color: oklch(19.1% 0.101 274.4);
Tailwind
colors: {
  custom: {
    50: '#544876',
    500: '#0b0740',
    950: '#000000',
  },
}
SCSS
$custom: #0b0740;
$custom-light: #544876;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0740",
  "rgb": {
    "r": 11,
    "g": 7,
    "b": 64
  },
  "hsl": {
    "h": 244.211,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.1915,
    "c": 0.1014,
    "h": 274.4
  },
  "luminance": 0.00593
}

Semantic roles & 50–950 ramp

primary
#0B0740
secondary
#797F24
accent
#F731E9
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #0B0740

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

Preview Lab → · Contrast checker → · Palette generator →

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