#0B0738#0B0738

#0B0738 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.1% C 0.090 H 276.4°. Best body text is #FFFFFF at 19.06:1 contrast (WCAG AA passes).

Color values

HEX#0B0738
RGBrgb(11, 7, 56)
HSLhsl(245, 78%, 12%)
HSVhsv(245, 88%, 22%)
CMYKcmyk(80.4%, 87.5%, 0%, 78%)
CIE-LABlab(4.59, 18.09, -29.80)
CIE-LCHlch(4.59, 34.86, 301.26°)
OKLaboklab(18.1% 0.0101 -0.0893)
OKLCHoklch(18.1% 0.09 276.4)
XYZxyz(0.9276, 0.5085, 3.7899)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0738 #343807
analogous
#071C38 #0B0738 #240738
triadic
#0B0738 #380B07 #07380B
tetradic
#0B0738 #38071C #343807 #073824
square
#0B0738 #38071C #343807 #073824
split-complementary
#0B0738 #382407 #1C3807
monochromatic
#05031B #05031B #0B0738 #160E6E #2015A5

Accessibility & contrast

On white

19.06
#0B0738 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B0738
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0738#FFFFFF#000000##FFFFFF
##0B07381.0019.061.1019.06
#FFFFFF19.061.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001239
Deuteranopia (green-blind)
#000E37
Tritanopia (blue-blind)
#00151F
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0b0738;
/* rgb */ color: rgb(11, 7, 56);
/* oklch */ color: oklch(18.1% 0.090 276.4);
Tailwind
colors: {
  custom: {
    50: '#51496f',
    500: '#0b0738',
    950: '#000000',
  },
}
SCSS
$custom: #0b0738;
$custom-light: #51496f;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0738",
  "rgb": {
    "r": 11,
    "g": 7,
    "b": 56
  },
  "hsl": {
    "h": 244.898,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.18104,
    "c": 0.08989,
    "h": 276.4
  },
  "luminance": 0.00509
}

Semantic roles & 50–950 ramp

primary
#0B0738
secondary
#717823
accent
#F434E5
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020007
muted
#78777A

Preview Lab

Preview with #0B0738

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

Preview Lab → · Contrast checker → · Palette generator →

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