#0A0B35#0A0B35

#0A0B35 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.4% C 0.080 H 274.2°. Best body text is #FFFFFF at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#0A0B35
RGBrgb(10, 11, 53)
HSLhsl(239, 68%, 12%)
HSVhsv(239, 81%, 21%)
CMYKcmyk(81.1%, 79.2%, 0%, 79.2%)
CIE-LABlab(5.07, 14.48, -26.84)
CIE-LCHlch(5.07, 30.49, 298.34°)
OKLaboklab(18.45% 0.0059 -0.0798)
OKLCHoklch(18.45% 0.08 274.2)
XYZxyz(0.8872, 0.5608, 3.4290)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0B35 #35340A
analogous
#0A2035 #0A0B35 #1F0A35
triadic
#0A0B35 #350A0B #0B350A
tetradic
#0A0B35 #350A20 #35340A #0A351F
square
#0A0B35 #350A20 #35340A #0A351F
split-complementary
#0A0B35 #351F0A #20350A
monochromatic
#05051A #05051A #0A0B35 #141668 #1D209C

Accessibility & contrast

On white

18.88
#0A0B35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#0A0B35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0B35
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0B35#FFFFFF#000000##FFFFFF
##0A0B351.0018.881.1118.88
#FFFFFF18.881.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001336
Deuteranopia (green-blind)
#000F34
Tritanopia (blue-blind)
#00161E
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0a0b35;
/* rgb */ color: rgb(10, 11, 53);
/* oklch */ color: oklch(18.4% 0.080 274.2);
Tailwind
colors: {
  custom: {
    50: '#504b6d',
    500: '#0a0b35',
    950: '#000000',
  },
}
SCSS
$custom: #0a0b35;
$custom-light: #504b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0b35",
  "rgb": {
    "r": 10,
    "g": 11,
    "b": 53
  },
  "hsl": {
    "h": 238.605,
    "s": 68.254,
    "l": 12.353
  },
  "oklch": {
    "l": 0.18447,
    "c": 0.08002,
    "h": 274.2
  },
  "luminance": 0.00561
}

Semantic roles & 50–950 ramp

primary
#0A0B35
secondary
#727128
accent
#E73DEB
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020107
muted
#78777A

Preview Lab

Preview with #0A0B35

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

Preview Lab → · Contrast checker → · Palette generator →

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