#0A1547#0A1547

#0A1547 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.6% C 0.094 H 268.0°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#0A1547
RGBrgb(10, 21, 71)
HSLhsl(229, 75%, 16%)
HSVhsv(229, 86%, 28%)
CMYKcmyk(85.9%, 70.4%, 0%, 72.2%)
CIE-LABlab(9.45, 16.57, -32.58)
CIE-LCHlch(9.45, 36.56, 296.96°)
OKLaboklab(22.58% -0.0032 -0.0942)
OKLCHoklch(22.58% 0.094 268)
XYZxyz(1.5303, 1.0556, 6.0831)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A1547 #473C0A
analogous
#0A3347 #0A1547 #1D0A47
triadic
#0A1547 #470A15 #15470A
tetradic
#0A1547 #470A33 #473C0A #0A471D
square
#0A1547 #470A33 #473C0A #0A471D
split-complementary
#0A1547 #471D0A #33470A
monochromatic
#04081B #04081B #0A1547 #12257D #1935B2

Accessibility & contrast

On white

17.34
#0A1547 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A1547
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A1547#FFFFFF#000000##FFFFFF
##0A15471.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0a1547;
/* rgb */ color: rgb(10, 21, 71);
/* oklch */ color: oklch(22.6% 0.094 268.0);
Tailwind
colors: {
  custom: {
    50: '#55527b',
    500: '#0a1547',
    950: '#000000',
  },
}
SCSS
$custom: #0a1547;
$custom-light: #55527b;
$custom-dark: #000000;
JSON
{
  "hex": "#0a1547",
  "rgb": {
    "r": 10,
    "g": 21,
    "b": 71
  },
  "hsl": {
    "h": 229.18,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.22581,
    "c": 0.09429,
    "h": 268
  },
  "luminance": 0.01056
}

Semantic roles & 50–950 ramp

primary
#0A1547
secondary
#847429
accent
#D036F2
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030209
muted
#78787B

Preview Lab

Preview with #0A1547

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

Preview Lab → · Contrast checker → · Palette generator →

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