#0A1840#0A1840

#0A1840 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.6% C 0.079 H 265.7°. Best body text is #FFFFFF at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#0A1840
RGBrgb(10, 24, 64)
HSLhsl(224, 73%, 15%)
HSVhsv(224, 84%, 25%)
CMYKcmyk(84.4%, 62.5%, 0%, 74.9%)
CIE-LABlab(9.70, 11.10, -27.24)
CIE-LCHlch(9.70, 29.42, 292.17°)
OKLaboklab(22.56% -0.0058 -0.0785)
OKLCHoklch(22.56% 0.079 265.7)
XYZxyz(1.3769, 1.0878, 4.9869)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A1840 #40320A
analogous
#0A3340 #0A1840 #170A40
triadic
#0A1840 #400A18 #18400A
tetradic
#0A1840 #400A33 #40320A #0A4017
square
#0A1840 #400A33 #40320A #0A4017
split-complementary
#0A1840 #40170A #33400A
monochromatic
#040A1A #040A1A #0A1840 #122C75 #1B40AA

Accessibility & contrast

On white

17.25
#0A1840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#0A1840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A1840
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A1840#FFFFFF#000000##FFFFFF
##0A18401.0017.251.2217.25
#FFFFFF17.251.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D41
Deuteranopia (green-blind)
#00183F
Tritanopia (blue-blind)
#002229
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0a1840;
/* rgb */ color: rgb(10, 24, 64);
/* oklch */ color: oklch(22.6% 0.079 265.7);
Tailwind
colors: {
  custom: {
    50: '#535475',
    500: '#0a1840',
    950: '#000000',
  },
}
SCSS
$custom: #0a1840;
$custom-light: #535475;
$custom-dark: #000000;
JSON
{
  "hex": "#0a1840",
  "rgb": {
    "r": 10,
    "g": 24,
    "b": 64
  },
  "hsl": {
    "h": 224.444,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.22562,
    "c": 0.07873,
    "h": 265.7
  },
  "luminance": 0.01088
}

Semantic roles & 50–950 ramp

primary
#0A1840
secondary
#7D6729
accent
#C038F0
background
#F4F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0A1840

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

Preview Lab → · Contrast checker → · Palette generator →

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