#0B0A40#0B0A40

#0B0A40 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.7% C 0.098 H 273.5°. Best body text is #FFFFFF at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#0B0A40
RGBrgb(11, 10, 64)
HSLhsl(241, 73%, 15%)
HSVhsv(241, 84%, 25%)
CMYKcmyk(82.8%, 84.4%, 0%, 74.9%)
CIE-LABlab(5.95, 20.91, -33.37)
CIE-LCHlch(5.95, 39.38, 302.07°)
OKLaboklab(19.67% 0.006 -0.0976)
OKLCHoklch(19.67% 0.098 273.5)
XYZxyz(1.1717, 0.6583, 4.9148)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0A40 #3F400A
analogous
#0A2440 #0B0A40 #260A40
triadic
#0B0A40 #400B0A #0A400B
tetradic
#0B0A40 #400A24 #3F400A #0A4026
square
#0B0A40 #400A24 #3F400A #0A4026
split-complementary
#0B0A40 #40260A #24400A
monochromatic
#05041A #05041A #0B0A40 #141275 #1D1BAA

Accessibility & contrast

On white

18.56
#0B0A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#0B0A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0A40
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0A40#FFFFFF#000000##FFFFFF
##0B0A401.0018.561.1318.56
#FFFFFF18.561.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001642
Deuteranopia (green-blind)
#00113F
Tritanopia (blue-blind)
#001A24
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0b0a40;
/* rgb */ color: rgb(11, 10, 64);
/* oklch */ color: oklch(19.7% 0.098 273.5);
Tailwind
colors: {
  custom: {
    50: '#544a75',
    500: '#0b0a40',
    950: '#000000',
  },
}
SCSS
$custom: #0b0a40;
$custom-light: #544a75;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0a40",
  "rgb": {
    "r": 11,
    "g": 10,
    "b": 64
  },
  "hsl": {
    "h": 241.111,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.19672,
    "c": 0.09777,
    "h": 273.5
  },
  "luminance": 0.00658
}

Semantic roles & 50–950 ramp

primary
#0B0A40
secondary
#7C7D29
accent
#F038EC
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0B0A40

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

Preview Lab → · Contrast checker → · Palette generator →

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