#0B0C4A#0B0C4A

#0B0C4A is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.3% C 0.110 H 271.5°. Best body text is #FFFFFF at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#0B0C4A
RGBrgb(11, 12, 74)
HSLhsl(239, 74%, 17%)
HSVhsv(239, 85%, 29%)
CMYKcmyk(85.1%, 83.8%, 0%, 71%)
CIE-LABlab(7.48, 24.34, -37.91)
CIE-LCHlch(7.48, 45.05, 302.71°)
OKLaboklab(21.27% 0.0028 -0.1098)
OKLCHoklch(21.27% 0.11 271.5)
XYZxyz(1.5051, 0.8283, 6.5578)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0C4A #4A490B
analogous
#0B2C4A #0B0C4A #2A0B4A
triadic
#0B0C4A #4A0B0C #0C4A0B
tetradic
#0B0C4A #4A0B2C #4A490B #0B4A2A
square
#0B0C4A #4A0B2C #4A490B #0B4A2A
split-complementary
#0B0C4A #4A2A0B #2C4A0B
monochromatic
#04041B #04041B #0B0C4A #13157F #1B1DB5

Accessibility & contrast

On white

18.01
#0B0C4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B0C4A
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0C4A#FFFFFF#000000##FFFFFF
##0B0C4A1.0018.011.1718.01
#FFFFFF18.011.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4C
Deuteranopia (green-blind)
#001349
Tritanopia (blue-blind)
#001E2A
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0b0c4a;
/* rgb */ color: rgb(11, 12, 74);
/* oklch */ color: oklch(21.3% 0.110 271.5);
Tailwind
colors: {
  custom: {
    50: '#574b7d',
    500: '#0b0c4a',
    950: '#000000',
  },
}
SCSS
$custom: #0b0c4a;
$custom-light: #574b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0c4a",
  "rgb": {
    "r": 11,
    "g": 12,
    "b": 74
  },
  "hsl": {
    "h": 239.048,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.21272,
    "c": 0.10985,
    "h": 271.5
  },
  "luminance": 0.00829
}

Semantic roles & 50–950 ramp

primary
#0B0C4A
secondary
#86852B
accent
#EE37F1
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0B0C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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