#0A0B42#0A0B42

#0A0B42 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.0% C 0.100 H 272.1°. Best body text is #FFFFFF at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#0A0B42
RGBrgb(10, 11, 66)
HSLhsl(239, 74%, 15%)
HSVhsv(239, 85%, 26%)
CMYKcmyk(84.8%, 83.3%, 0%, 74.1%)
CIE-LABlab(6.30, 21.21, -34.23)
CIE-LCHlch(6.30, 40.27, 301.79°)
OKLaboklab(20.03% 0.0037 -0.0997)
OKLCHoklch(20.03% 0.1 272.1)
XYZxyz(1.2279, 0.6971, 5.2230)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0B42 #42410A
analogous
#0A2742 #0A0B42 #250A42
triadic
#0A0B42 #420A0B #0B420A
tetradic
#0A0B42 #420A27 #42410A #0A4225
square
#0A0B42 #420A27 #42410A #0A4225
split-complementary
#0A0B42 #42250A #27420A
monochromatic
#04041B #04041B #0A0B42 #121477 #1A1DAC

Accessibility & contrast

On white

18.43
#0A0B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A0B42
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0B42#FFFFFF#000000##FFFFFF
##0A0B421.0018.431.1418.43
#FFFFFF18.431.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0a0b42;
/* rgb */ color: rgb(10, 11, 66);
/* oklch */ color: oklch(20.0% 0.100 272.1);
Tailwind
colors: {
  custom: {
    50: '#544b77',
    500: '#0a0b42',
    950: '#000000',
  },
}
SCSS
$custom: #0a0b42;
$custom-light: #544b77;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0b42",
  "rgb": {
    "r": 10,
    "g": 11,
    "b": 66
  },
  "hsl": {
    "h": 238.929,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.20025,
    "c": 0.09982,
    "h": 272.1
  },
  "luminance": 0.00697
}

Semantic roles & 50–950 ramp

primary
#0A0B42
secondary
#7F7E29
accent
#ED37F0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0A0B42

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

Preview Lab → · Contrast checker → · Palette generator →

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