#0A1246#0A1246

#0A1246 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.8% C 0.097 H 269.3°. Best body text is #FFFFFF at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#0A1246
RGBrgb(10, 18, 70)
HSLhsl(232, 75%, 16%)
HSVhsv(232, 86%, 27%)
CMYKcmyk(85.7%, 74.3%, 0%, 72.5%)
CIE-LABlab(8.47, 18.42, -33.48)
CIE-LCHlch(8.47, 38.21, 298.82°)
OKLaboklab(21.83% -0.0011 -0.0969)
OKLCHoklch(21.83% 0.097 269.3)
XYZxyz(1.4466, 0.9392, 5.8982)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A1246 #463E0A
analogous
#0A3046 #0A1246 #200A46
triadic
#0A1246 #460A12 #12460A
tetradic
#0A1246 #460A30 #463E0A #0A4620
square
#0A1246 #460A30 #463E0A #0A4620
split-complementary
#0A1246 #46200A #30460A
monochromatic
#04071B #04071B #0A1246 #12207C #192EB1

Accessibility & contrast

On white

17.68
#0A1246 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#0A1246 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A1246
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A1246#FFFFFF#000000##FFFFFF
##0A12461.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B48
Deuteranopia (green-blind)
#001645
Tritanopia (blue-blind)
#00202A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0a1246;
/* rgb */ color: rgb(10, 18, 70);
/* oklch */ color: oklch(21.8% 0.097 269.3);
Tailwind
colors: {
  custom: {
    50: '#554f7a',
    500: '#0a1246',
    950: '#000000',
  },
}
SCSS
$custom: #0a1246;
$custom-light: #554f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#0a1246",
  "rgb": {
    "r": 10,
    "g": 18,
    "b": 70
  },
  "hsl": {
    "h": 232,
    "s": 75,
    "l": 15.686
  },
  "oklch": {
    "l": 0.21835,
    "c": 0.09689,
    "h": 269.3
  },
  "luminance": 0.00939
}

Semantic roles & 50–950 ramp

primary
#0A1246
secondary
#837729
accent
#D936F2
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #0A1246

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

Preview Lab → · Contrast checker → · Palette generator →

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