#0A1946#0A1946

#0A1946 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.4% C 0.087 H 265.8°. Best body text is #FFFFFF at 16.93:1 contrast (WCAG AA passes).

Color values

HEX#0A1946
RGBrgb(10, 25, 70)
HSLhsl(225, 75%, 16%)
HSVhsv(225, 86%, 27%)
CMYKcmyk(85.7%, 64.3%, 0%, 72.5%)
CIE-LABlab(10.57, 13.02, -30.05)
CIE-LCHlch(10.57, 32.75, 293.43°)
OKLaboklab(23.39% -0.0063 -0.0867)
OKLCHoklch(23.39% 0.087 265.8)
XYZxyz(1.5779, 1.2018, 5.9420)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A1946 #46370A
analogous
#0A3746 #0A1946 #190A46
triadic
#0A1946 #460A19 #19460A
tetradic
#0A1946 #460A37 #46370A #0A4619
square
#0A1946 #460A37 #46370A #0A4619
split-complementary
#0A1946 #46190A #37460A
monochromatic
#040A1B #040A1B #0A1946 #122C7C #193FB1

Accessibility & contrast

On white

16.93
#0A1946 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#0A1946 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A1946
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A1946#FFFFFF#000000##FFFFFF
##0A19461.0016.931.2416.93
#FFFFFF16.931.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0a1946;
/* rgb */ color: rgb(10, 25, 70);
/* oklch */ color: oklch(23.4% 0.087 265.8);
Tailwind
colors: {
  custom: {
    50: '#54557a',
    500: '#0a1946',
    950: '#000000',
  },
}
SCSS
$custom: #0a1946;
$custom-light: #54557a;
$custom-dark: #000000;
JSON
{
  "hex": "#0a1946",
  "rgb": {
    "r": 10,
    "g": 25,
    "b": 70
  },
  "hsl": {
    "h": 225,
    "s": 75,
    "l": 15.686
  },
  "oklch": {
    "l": 0.23387,
    "c": 0.08697,
    "h": 265.8
  },
  "luminance": 0.01202
}

Semantic roles & 50–950 ramp

primary
#0A1946
secondary
#836C29
accent
#C336F2
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030309
muted
#78787B

Preview Lab

Preview with #0A1946

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

Preview Lab → · Contrast checker → · Palette generator →

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