#0B0B4C#0B0B4C

#0B0B4C is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.4% C 0.114 H 271.4°. Best body text is #FFFFFF at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#0B0B4C
RGBrgb(11, 11, 76)
HSLhsl(240, 75%, 17%)
HSVhsv(240, 86%, 30%)
CMYKcmyk(85.5%, 85.5%, 0%, 70.2%)
CIE-LABlab(7.52, 25.75, -39.25)
CIE-LCHlch(7.52, 46.94, 303.27°)
OKLaboklab(21.37% 0.0028 -0.1137)
OKLCHoklch(21.37% 0.114 271.4)
XYZxyz(1.5617, 0.8321, 6.9144)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0B4C #4C4C0B
analogous
#0B2C4C #0B0B4C #2C0B4C
triadic
#0B0B4C #4C0B0B #0B4C0B
tetradic
#0B0B4C #4C0B2C #4C4C0B #0B4C2C
square
#0B0B4C #4C0B2C #4C4C0B #0B4C2C
split-complementary
#0B0B4C #4C2C0B #2C4C0B
monochromatic
#04041B #04041B #0B0B4C #131381 #1A1AB7

Accessibility & contrast

On white

18.00
#0B0B4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#0B0B4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0B4C
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0B4C#FFFFFF#000000##FFFFFF
##0B0B4C1.0018.001.1718.00
#FFFFFF18.001.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4E
Deuteranopia (green-blind)
#00134B
Tritanopia (blue-blind)
#001F2B
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0b0b4c;
/* rgb */ color: rgb(11, 11, 76);
/* oklch */ color: oklch(21.4% 0.114 271.4);
Tailwind
colors: {
  custom: {
    50: '#584b7f',
    500: '#0b0b4c',
    950: '#000000',
  },
}
SCSS
$custom: #0b0b4c;
$custom-light: #584b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0b4c",
  "rgb": {
    "r": 11,
    "g": 11,
    "b": 76
  },
  "hsl": {
    "h": 240,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.21373,
    "c": 0.1137,
    "h": 271.4
  },
  "luminance": 0.00832
}

Semantic roles & 50–950 ramp

primary
#0B0B4C
secondary
#88882B
accent
#F136F1
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0B0B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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