#0A1841#0A1841

#0A1841 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.7% C 0.080 H 265.9°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#0A1841
RGBrgb(10, 24, 65)
HSLhsl(225, 73%, 15%)
HSVhsv(225, 85%, 25%)
CMYKcmyk(84.6%, 63.1%, 0%, 74.5%)
CIE-LABlab(9.79, 11.55, -27.80)
CIE-LCHlch(9.79, 30.11, 292.56°)
OKLaboklab(22.66% -0.0058 -0.0802)
OKLCHoklch(22.66% 0.08 265.9)
XYZxyz(1.4056, 1.0993, 5.1381)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A1841 #41330A
analogous
#0A3441 #0A1841 #180A41
triadic
#0A1841 #410A18 #18410A
tetradic
#0A1841 #410A34 #41330A #0A4118
square
#0A1841 #410A34 #41330A #0A4118
split-complementary
#0A1841 #41180A #34410A
monochromatic
#040A1B #040A1B #0A1841 #122C76 #1A3FAB

Accessibility & contrast

On white

17.22
#0A1841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A1841
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A1841#FFFFFF#000000##FFFFFF
##0A18411.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E42
Deuteranopia (green-blind)
#001940
Tritanopia (blue-blind)
#002229
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0a1841;
/* rgb */ color: rgb(10, 24, 65);
/* oklch */ color: oklch(22.7% 0.080 265.9);
Tailwind
colors: {
  custom: {
    50: '#535476',
    500: '#0a1841',
    950: '#000000',
  },
}
SCSS
$custom: #0a1841;
$custom-light: #535476;
$custom-dark: #000000;
JSON
{
  "hex": "#0a1841",
  "rgb": {
    "r": 10,
    "g": 24,
    "b": 65
  },
  "hsl": {
    "h": 224.727,
    "s": 73.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22659,
    "c": 0.08037,
    "h": 265.9
  },
  "luminance": 0.01099
}

Semantic roles & 50–950 ramp

primary
#0A1841
secondary
#7E6829
accent
#C138F0
background
#F5F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0A1841

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

Preview Lab → · Contrast checker → · Palette generator →

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