#0B0741#0B0741

#0B0741 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.3% C 0.103 H 274.2°. Best body text is #FFFFFF at 18.73:1 contrast (WCAG AA passes).

Color values

HEX#0B0741
RGBrgb(11, 7, 65)
HSLhsl(244, 81%, 14%)
HSVhsv(244, 89%, 25%)
CMYKcmyk(83.1%, 89.2%, 0%, 74.5%)
CIE-LABlab(5.46, 22.87, -34.88)
CIE-LCHlch(5.46, 41.71, 303.25°)
OKLaboklab(19.28% 0.0075 -0.1025)
OKLCHoklch(19.28% 0.103 274.2)
XYZxyz(1.1678, 0.6046, 5.0552)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0741 #3D4107
analogous
#072041 #0B0741 #280741
triadic
#0B0741 #410B07 #07410B
tetradic
#0B0741 #410720 #3D4107 #074128
square
#0B0741 #410720 #3D4107 #074128
split-complementary
#0B0741 #412807 #204107
monochromatic
#05031C #05031C #0B0741 #140D78 #1E13B0

Accessibility & contrast

On white

18.73
#0B0741 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B0741
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0741#FFFFFF#000000##FFFFFF
##0B07411.0018.731.1218.73
#FFFFFF18.731.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b0741;
/* rgb */ color: rgb(11, 7, 65);
/* oklch */ color: oklch(19.3% 0.103 274.2);
Tailwind
colors: {
  custom: {
    50: '#554876',
    500: '#0b0741',
    950: '#000000',
  },
}
SCSS
$custom: #0b0741;
$custom-light: #554876;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0741",
  "rgb": {
    "r": 11,
    "g": 7,
    "b": 65
  },
  "hsl": {
    "h": 244.138,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.19284,
    "c": 0.1028,
    "h": 274.2
  },
  "luminance": 0.00605
}

Semantic roles & 50–950 ramp

primary
#0B0741
secondary
#7A8024
accent
#F731E9
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #0B0741

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

Preview Lab → · Contrast checker → · Palette generator →

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