#0A0B47#0A0B47

#0A0B47 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.7% C 0.107 H 271.4°. Best body text is #FFFFFF at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#0A0B47
RGBrgb(10, 11, 71)
HSLhsl(239, 75%, 16%)
HSVhsv(239, 86%, 28%)
CMYKcmyk(85.9%, 84.5%, 0%, 72.2%)
CIE-LABlab(6.85, 23.53, -36.85)
CIE-LCHlch(6.85, 43.72, 302.56°)
OKLaboklab(20.66% 0.0026 -0.107)
OKLCHoklch(20.66% 0.107 271.4)
XYZxyz(1.3818, 0.7587, 6.0336)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0B47 #47460A
analogous
#0A2947 #0A0B47 #270A47
triadic
#0A0B47 #470A0B #0B470A
tetradic
#0A0B47 #470A29 #47460A #0A4727
square
#0A0B47 #470A29 #47460A #0A4727
split-complementary
#0A0B47 #47270A #29470A
monochromatic
#04041B #04041B #0A0B47 #12137D #191CB2

Accessibility & contrast

On white

18.23
#0A0B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A0B47
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0B47#FFFFFF#000000##FFFFFF
##0A0B471.0018.231.1518.23
#FFFFFF18.231.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001849
Deuteranopia (green-blind)
#001246
Tritanopia (blue-blind)
#001D28
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0a0b47;
/* rgb */ color: rgb(10, 11, 71);
/* oklch */ color: oklch(20.7% 0.107 271.4);
Tailwind
colors: {
  custom: {
    50: '#564b7b',
    500: '#0a0b47',
    950: '#000000',
  },
}
SCSS
$custom: #0a0b47;
$custom-light: #564b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0b47",
  "rgb": {
    "r": 10,
    "g": 11,
    "b": 71
  },
  "hsl": {
    "h": 239.016,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.20662,
    "c": 0.10701,
    "h": 271.4
  },
  "luminance": 0.00759
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #0A0B47

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

Preview Lab → · Contrast checker → · Palette generator →

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