#0A1846#0A1846

#0A1846 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.2% C 0.088 H 266.4°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#0A1846
RGBrgb(10, 24, 70)
HSLhsl(226, 75%, 16%)
HSVhsv(226, 86%, 27%)
CMYKcmyk(85.7%, 65.7%, 0%, 72.5%)
CIE-LABlab(10.26, 13.80, -30.56)
CIE-LCHlch(10.26, 33.53, 294.31°)
OKLaboklab(23.15% -0.0055 -0.0883)
OKLCHoklch(23.15% 0.088 266.4)
XYZxyz(1.5569, 1.1598, 5.9350)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A1846 #46380A
analogous
#0A3646 #0A1846 #1A0A46
triadic
#0A1846 #460A18 #18460A
tetradic
#0A1846 #460A36 #46380A #0A461A
square
#0A1846 #460A36 #46380A #0A461A
split-complementary
#0A1846 #461A0A #36460A
monochromatic
#04091B #04091B #0A1846 #122A7C #193DB1

Accessibility & contrast

On white

17.05
#0A1846 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A1846
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A1846#FFFFFF#000000##FFFFFF
##0A18461.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0a1846;
/* rgb */ color: rgb(10, 24, 70);
/* oklch */ color: oklch(23.2% 0.088 266.4);
Tailwind
colors: {
  custom: {
    50: '#54547a',
    500: '#0a1846',
    950: '#000000',
  },
}
SCSS
$custom: #0a1846;
$custom-light: #54547a;
$custom-dark: #000000;
JSON
{
  "hex": "#0a1846",
  "rgb": {
    "r": 10,
    "g": 24,
    "b": 70
  },
  "hsl": {
    "h": 226,
    "s": 75,
    "l": 15.686
  },
  "oklch": {
    "l": 0.23153,
    "c": 0.08843,
    "h": 266.4
  },
  "luminance": 0.0116
}

Semantic roles & 50–950 ramp

primary
#0A1846
secondary
#836E29
accent
#C636F2
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #0A1846

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

Preview Lab → · Contrast checker → · Palette generator →

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