#0A0A37#0A0A37

#0A0A37 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.5% C 0.085 H 274.3°. Best body text is #FFFFFF at 18.90:1 contrast (WCAG AA passes).

Color values

HEX#0A0A37
RGBrgb(10, 10, 55)
HSLhsl(240, 69%, 13%)
HSVhsv(240, 82%, 22%)
CMYKcmyk(81.8%, 81.8%, 0%, 78.4%)
CIE-LABlab(5.03, 16.01, -28.35)
CIE-LCHlch(5.03, 32.56, 299.45°)
OKLaboklab(18.49% 0.0064 -0.0843)
OKLCHoklch(18.49% 0.085 274.3)
XYZxyz(0.9231, 0.5574, 3.6726)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0A37 #37370A
analogous
#0A2037 #0A0A37 #200A37
triadic
#0A0A37 #370A0A #0A370A
tetradic
#0A0A37 #370A20 #37370A #0A3720
square
#0A0A37 #370A20 #37370A #0A3720
split-complementary
#0A0A37 #37200A #20370A
monochromatic
#05051A #05051A #0A0A37 #13136B #1D1D9F

Accessibility & contrast

On white

18.90
#0A0A37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A0A37
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0A37#FFFFFF#000000##FFFFFF
##0A0A371.0018.901.1118.90
#FFFFFF18.901.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001338
Deuteranopia (green-blind)
#000F36
Tritanopia (blue-blind)
#00161F
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0a0a37;
/* rgb */ color: rgb(10, 10, 55);
/* oklch */ color: oklch(18.5% 0.085 274.3);
Tailwind
colors: {
  custom: {
    50: '#504a6e',
    500: '#0a0a37',
    950: '#000000',
  },
}
SCSS
$custom: #0a0a37;
$custom-light: #504a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0a37",
  "rgb": {
    "r": 10,
    "g": 10,
    "b": 55
  },
  "hsl": {
    "h": 240,
    "s": 69.231,
    "l": 12.745
  },
  "oklch": {
    "l": 0.18486,
    "c": 0.08453,
    "h": 274.3
  },
  "luminance": 0.00557
}

Semantic roles & 50–950 ramp

primary
#0A0A37
secondary
#747428
accent
#EC3CEC
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #0A0A37

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

Preview Lab → · Contrast checker → · Palette generator →

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