#0B0A42#0B0A42

#0B0A42 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.9% C 0.101 H 273.2°. Best body text is #FFFFFF at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#0B0A42
RGBrgb(11, 10, 66)
HSLhsl(241, 74%, 15%)
HSVhsv(241, 85%, 26%)
CMYKcmyk(83.3%, 84.8%, 0%, 74.1%)
CIE-LABlab(6.16, 21.88, -34.45)
CIE-LCHlch(6.16, 40.81, 302.41°)
OKLaboklab(19.93% 0.0056 -0.1005)
OKLCHoklch(19.93% 0.101 273.2)
XYZxyz(1.2296, 0.6815, 5.2199)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0A42 #41420A
analogous
#0A2542 #0B0A42 #270A42
triadic
#0B0A42 #420B0A #0A420B
tetradic
#0B0A42 #420A25 #41420A #0A4227
square
#0B0A42 #420A25 #41420A #0A4227
split-complementary
#0B0A42 #42270A #25420A
monochromatic
#04041B #04041B #0B0A42 #141277 #1D1AAC

Accessibility & contrast

On white

18.48
#0B0A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#0B0A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0A42
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0A42#FFFFFF#000000##FFFFFF
##0B0A421.0018.481.1418.48
#FFFFFF18.481.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001644
Deuteranopia (green-blind)
#001141
Tritanopia (blue-blind)
#001A25
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0b0a42;
/* rgb */ color: rgb(11, 10, 66);
/* oklch */ color: oklch(19.9% 0.101 273.2);
Tailwind
colors: {
  custom: {
    50: '#554a77',
    500: '#0b0a42',
    950: '#000000',
  },
}
SCSS
$custom: #0b0a42;
$custom-light: #554a77;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0a42",
  "rgb": {
    "r": 11,
    "g": 10,
    "b": 66
  },
  "hsl": {
    "h": 241.071,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.19926,
    "c": 0.10066,
    "h": 273.2
  },
  "luminance": 0.00682
}

Semantic roles & 50–950 ramp

primary
#0B0A42
secondary
#7E7F29
accent
#F037ED
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0B0A42

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

Preview Lab → · Contrast checker → · Palette generator →

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