#0A1546#0A1546

#0A1546 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.5% C 0.093 H 268.0°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#0A1546
RGBrgb(10, 21, 70)
HSLhsl(229, 75%, 16%)
HSVhsv(229, 86%, 27%)
CMYKcmyk(85.7%, 70%, 0%, 72.5%)
CIE-LABlab(9.34, 16.13, -32.05)
CIE-LCHlch(9.34, 35.88, 296.71°)
OKLaboklab(22.47% -0.0032 -0.0927)
OKLCHoklch(22.47% 0.093 268)
XYZxyz(1.4984, 1.0429, 5.9155)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A1546 #463B0A
analogous
#0A3346 #0A1546 #1D0A46
triadic
#0A1546 #460A15 #15460A
tetradic
#0A1546 #460A33 #463B0A #0A461D
square
#0A1546 #460A33 #463B0A #0A461D
split-complementary
#0A1546 #461D0A #33460A
monochromatic
#04081B #04081B #0A1546 #12257C #1935B1

Accessibility & contrast

On white

17.38
#0A1546 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#0A1546 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A1546
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A1546#FFFFFF#000000##FFFFFF
##0A15461.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D48
Deuteranopia (green-blind)
#001745
Tritanopia (blue-blind)
#00222B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0a1546;
/* rgb */ color: rgb(10, 21, 70);
/* oklch */ color: oklch(22.5% 0.093 268.0);
Tailwind
colors: {
  custom: {
    50: '#55527a',
    500: '#0a1546',
    950: '#000000',
  },
}
SCSS
$custom: #0a1546;
$custom-light: #55527a;
$custom-dark: #000000;
JSON
{
  "hex": "#0a1546",
  "rgb": {
    "r": 10,
    "g": 21,
    "b": 70
  },
  "hsl": {
    "h": 229,
    "s": 75,
    "l": 15.686
  },
  "oklch": {
    "l": 0.22474,
    "c": 0.09273,
    "h": 268
  },
  "luminance": 0.01043
}

Semantic roles & 50–950 ramp

primary
#0A1546
secondary
#837229
accent
#CF36F2
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #0A1546

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

Preview Lab → · Contrast checker → · Palette generator →

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