#0B0742#0B0742

#0B0742 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.4% C 0.104 H 274.0°. Best body text is #FFFFFF at 18.70:1 contrast (WCAG AA passes).

Color values

HEX#0B0742
RGBrgb(11, 7, 66)
HSLhsl(244, 81%, 14%)
HSVhsv(244, 89%, 26%)
CMYKcmyk(83.3%, 89.4%, 0%, 74.1%)
CIE-LABlab(5.57, 23.37, -35.42)
CIE-LCHlch(5.57, 42.43, 303.41°)
OKLaboklab(19.42% 0.0072 -0.1039)
OKLCHoklch(19.42% 0.104 274)
XYZxyz(1.1970, 0.6163, 5.2091)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0742 #3E4207
analogous
#072142 #0B0742 #290742
triadic
#0B0742 #420B07 #07420B
tetradic
#0B0742 #420721 #3E4207 #074229
square
#0B0742 #420721 #3E4207 #074229
split-complementary
#0B0742 #422907 #214207
monochromatic
#05031C #05031C #0B0742 #140D79 #1D13B1

Accessibility & contrast

On white

18.70
#0B0742 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B0742
18.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0742#FFFFFF#000000##FFFFFF
##0B07421.0018.701.1218.70
#FFFFFF18.701.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001544
Deuteranopia (green-blind)
#000F41
Tritanopia (blue-blind)
#001924
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0b0742;
/* rgb */ color: rgb(11, 7, 66);
/* oklch */ color: oklch(19.4% 0.104 274.0);
Tailwind
colors: {
  custom: {
    50: '#554877',
    500: '#0b0742',
    950: '#000000',
  },
}
SCSS
$custom: #0b0742;
$custom-light: #554877;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0742",
  "rgb": {
    "r": 11,
    "g": 7,
    "b": 66
  },
  "hsl": {
    "h": 244.068,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.19417,
    "c": 0.1042,
    "h": 274
  },
  "luminance": 0.00616
}

Semantic roles & 50–950 ramp

primary
#0B0742
secondary
#7B8124
accent
#F731EA
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030009
muted
#78777B

Preview Lab

Preview with #0B0742

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

Preview Lab → · Contrast checker → · Palette generator →

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