#0A0B48#0A0B48

#0A0B48 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.8% C 0.108 H 271.3°. Best body text is #FFFFFF at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#0A0B48
RGBrgb(10, 11, 72)
HSLhsl(239, 76%, 16%)
HSVhsv(239, 86%, 28%)
CMYKcmyk(86.1%, 84.7%, 0%, 71.8%)
CIE-LABlab(6.97, 23.97, -37.36)
CIE-LCHlch(6.97, 44.38, 302.68°)
OKLaboklab(20.79% 0.0024 -0.1084)
OKLCHoklch(20.79% 0.108 271.3)
XYZxyz(1.4141, 0.7716, 6.2040)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0B48 #48470A
analogous
#0A2A48 #0A0B48 #280A48
triadic
#0A0B48 #480A0B #0B480A
tetradic
#0A0B48 #480A2A #48470A #0A4828
square
#0A0B48 #480A2A #48470A #0A4828
split-complementary
#0A0B48 #48280A #2A480A
monochromatic
#04041B #04041B #0A0B48 #11137E #191BB3

Accessibility & contrast

On white

18.19
#0A0B48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#0A0B48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0B48
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0B48#FFFFFF#000000##FFFFFF
##0A0B481.0018.191.1518.19
#FFFFFF18.191.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00184A
Deuteranopia (green-blind)
#001247
Tritanopia (blue-blind)
#001D29
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0a0b48;
/* rgb */ color: rgb(10, 11, 72);
/* oklch */ color: oklch(20.8% 0.108 271.3);
Tailwind
colors: {
  custom: {
    50: '#574b7c',
    500: '#0a0b48',
    950: '#000000',
  },
}
SCSS
$custom: #0a0b48;
$custom-light: #574b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0b48",
  "rgb": {
    "r": 10,
    "g": 11,
    "b": 72
  },
  "hsl": {
    "h": 239.032,
    "s": 75.61,
    "l": 16.078
  },
  "oklch": {
    "l": 0.20791,
    "c": 0.10843,
    "h": 271.3
  },
  "luminance": 0.00772
}

Semantic roles & 50–950 ramp

primary
#0A0B48
secondary
#858329
accent
#EF36F2
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0A0B48

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

Preview Lab → · Contrast checker → · Palette generator →

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