#0A1A46#0A1A46

#0A1A46 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.6% C 0.086 H 265.2°. Best body text is #FFFFFF at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#0A1A46
RGBrgb(10, 26, 70)
HSLhsl(224, 75%, 16%)
HSVhsv(224, 86%, 27%)
CMYKcmyk(85.7%, 62.9%, 0%, 72.5%)
CIE-LABlab(10.89, 12.24, -29.53)
CIE-LCHlch(10.89, 31.97, 292.51°)
OKLaboklab(23.63% -0.0072 -0.0852)
OKLCHoklch(23.63% 0.086 265.2)
XYZxyz(1.5997, 1.2453, 5.9492)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A1A46 #46360A
analogous
#0A3846 #0A1A46 #180A46
triadic
#0A1A46 #460A1A #1A460A
tetradic
#0A1A46 #460A38 #46360A #0A4618
square
#0A1A46 #460A38 #46360A #0A4618
split-complementary
#0A1A46 #46180A #38460A
monochromatic
#040A1B #040A1B #0A1A46 #122E7C #1942B1

Accessibility & contrast

On white

16.81
#0A1A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#0A1A46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A1A46
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A1A46#FFFFFF#000000##FFFFFF
##0A1A461.0016.811.2516.81
#FFFFFF16.811.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002048
Deuteranopia (green-blind)
#001B45
Tritanopia (blue-blind)
#00252D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0a1a46;
/* rgb */ color: rgb(10, 26, 70);
/* oklch */ color: oklch(23.6% 0.086 265.2);
Tailwind
colors: {
  custom: {
    50: '#54567a',
    500: '#0a1a46',
    950: '#000000',
  },
}
SCSS
$custom: #0a1a46;
$custom-light: #54567a;
$custom-dark: #000000;
JSON
{
  "hex": "#0a1a46",
  "rgb": {
    "r": 10,
    "g": 26,
    "b": 70
  },
  "hsl": {
    "h": 224,
    "s": 75,
    "l": 15.686
  },
  "oklch": {
    "l": 0.23626,
    "c": 0.08551,
    "h": 265.2
  },
  "luminance": 0.01246
}

Semantic roles & 50–950 ramp

primary
#0A1A46
secondary
#836B29
accent
#C036F2
background
#F5F4F7
surface
#E9E8ED
border
#C5C4C8
text
#030309
muted
#78787B

Preview Lab

Preview with #0A1A46

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

Preview Lab → · Contrast checker → · Palette generator →

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