#0B0C4C#0B0C4C

#0B0C4C is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.5% C 0.113 H 271.2°. Best body text is #FFFFFF at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#0B0C4C
RGBrgb(11, 12, 76)
HSLhsl(239, 75%, 17%)
HSVhsv(239, 86%, 30%)
CMYKcmyk(85.5%, 84.2%, 0%, 70.2%)
CIE-LABlab(7.73, 25.15, -38.89)
CIE-LCHlch(7.73, 46.32, 302.89°)
OKLaboklab(21.53% 0.0024 -0.1126)
OKLCHoklch(21.53% 0.113 271.2)
XYZxyz(1.5735, 0.8557, 6.9183)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0C4C #4C4B0B
analogous
#0B2D4C #0B0C4C #2B0B4C
triadic
#0B0C4C #4C0B0C #0C4C0B
tetradic
#0B0C4C #4C0B2D #4C4B0B #0B4C2B
square
#0B0C4C #4C0B2D #4C4B0B #0B4C2B
split-complementary
#0B0C4C #4C2B0B #2D4C0B
monochromatic
#04041B #04041B #0B0C4C #131481 #1A1DB7

Accessibility & contrast

On white

17.93
#0B0C4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B0C4C
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0C4C#FFFFFF#000000##FFFFFF
##0B0C4C1.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b0c4c;
/* rgb */ color: rgb(11, 12, 76);
/* oklch */ color: oklch(21.5% 0.113 271.2);
Tailwind
colors: {
  custom: {
    50: '#584b7f',
    500: '#0b0c4c',
    950: '#000000',
  },
}
SCSS
$custom: #0b0c4c;
$custom-light: #584b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0c4c",
  "rgb": {
    "r": 11,
    "g": 12,
    "b": 76
  },
  "hsl": {
    "h": 239.077,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.21528,
    "c": 0.11266,
    "h": 271.2
  },
  "luminance": 0.00856
}

Semantic roles & 50–950 ramp

primary
#0B0C4C
secondary
#88872B
accent
#EE36F1
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0B0C4C

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

Preview Lab → · Contrast checker → · Palette generator →

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