#0B0A4A#0B0A4A

#0B0A4A is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.0% C 0.112 H 271.9°. Best body text is #FFFFFF at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#0B0A4A
RGBrgb(11, 10, 74)
HSLhsl(241, 76%, 16%)
HSVhsv(241, 86%, 29%)
CMYKcmyk(85.1%, 86.5%, 0%, 71%)
CIE-LABlab(7.07, 25.49, -38.59)
CIE-LCHlch(7.07, 46.25, 303.44°)
OKLaboklab(20.96% 0.0037 -0.1119)
OKLCHoklch(20.96% 0.112 271.9)
XYZxyz(1.4822, 0.7825, 6.5502)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0A4A #494A0A
analogous
#0A294A #0B0A4A #2B0A4A
triadic
#0B0A4A #4A0B0A #0A4A0B
tetradic
#0B0A4A #4A0A29 #494A0A #0A4A2B
square
#0B0A4A #4A0A29 #494A0A #0A4A2B
split-complementary
#0B0A4A #4A2B0A #294A0A
monochromatic
#04041B #04041B #0B0A4A #131180 #1B19B6

Accessibility & contrast

On white

18.16
#0B0A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0B0A4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0A4A
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0A4A#FFFFFF#000000##FFFFFF
##0B0A4A1.0018.161.1618.16
#FFFFFF18.161.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00194C
Deuteranopia (green-blind)
#001249
Tritanopia (blue-blind)
#001E2A
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0b0a4a;
/* rgb */ color: rgb(11, 10, 74);
/* oklch */ color: oklch(21.0% 0.112 271.9);
Tailwind
colors: {
  custom: {
    50: '#584a7d',
    500: '#0b0a4a',
    950: '#000000',
  },
}
SCSS
$custom: #0b0a4a;
$custom-light: #584a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0a4a",
  "rgb": {
    "r": 11,
    "g": 10,
    "b": 74
  },
  "hsl": {
    "h": 240.938,
    "s": 76.19,
    "l": 16.471
  },
  "oklch": {
    "l": 0.20961,
    "c": 0.11197,
    "h": 271.9
  },
  "luminance": 0.00783
}

Semantic roles & 50–950 ramp

primary
#0B0A4A
secondary
#858729
accent
#F335F0
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0B0A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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