#0A1847#0A1847

#0A1847 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.3% C 0.090 H 266.5°. Best body text is #FFFFFF at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#0A1847
RGBrgb(10, 24, 71)
HSLhsl(226, 75%, 16%)
HSVhsv(226, 86%, 28%)
CMYKcmyk(85.9%, 66.2%, 0%, 72.2%)
CIE-LABlab(10.35, 14.25, -31.10)
CIE-LCHlch(10.35, 34.21, 294.61°)
OKLaboklab(23.25% -0.0055 -0.0898)
OKLCHoklch(23.25% 0.09 266.5)
XYZxyz(1.5887, 1.1726, 6.1026)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A1847 #47390A
analogous
#0A3647 #0A1847 #1A0A47
triadic
#0A1847 #470A18 #18470A
tetradic
#0A1847 #470A36 #47390A #0A471A
square
#0A1847 #470A36 #47390A #0A471A
split-complementary
#0A1847 #471A0A #36470A
monochromatic
#04091B #04091B #0A1847 #122A7D #193CB2

Accessibility & contrast

On white

17.01
#0A1847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#0A1847 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A1847
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A1847#FFFFFF#000000##FFFFFF
##0A18471.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F49
Deuteranopia (green-blind)
#001946
Tritanopia (blue-blind)
#00242C
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0a1847;
/* rgb */ color: rgb(10, 24, 71);
/* oklch */ color: oklch(23.3% 0.090 266.5);
Tailwind
colors: {
  custom: {
    50: '#55547b',
    500: '#0a1847',
    950: '#000000',
  },
}
SCSS
$custom: #0a1847;
$custom-light: #55547b;
$custom-dark: #000000;
JSON
{
  "hex": "#0a1847",
  "rgb": {
    "r": 10,
    "g": 24,
    "b": 71
  },
  "hsl": {
    "h": 226.23,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.23254,
    "c": 0.09002,
    "h": 266.5
  },
  "luminance": 0.01173
}

Semantic roles & 50–950 ramp

primary
#0A1847
secondary
#846F29
accent
#C736F2
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030209
muted
#78787B

Preview Lab

Preview with #0A1847

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

Preview Lab → · Contrast checker → · Palette generator →

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