#0A1A47#0A1A47

#0A1A47 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.7% C 0.087 H 265.3°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#0A1A47
RGBrgb(10, 26, 71)
HSLhsl(224, 75%, 16%)
HSVhsv(224, 86%, 28%)
CMYKcmyk(85.9%, 63.4%, 0%, 72.2%)
CIE-LABlab(10.98, 12.69, -30.08)
CIE-LCHlch(10.98, 32.65, 292.87°)
OKLaboklab(23.72% -0.0071 -0.0868)
OKLCHoklch(23.72% 0.087 265.3)
XYZxyz(1.6315, 1.2581, 6.1169)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A1A47 #47370A
analogous
#0A3847 #0A1A47 #180A47
triadic
#0A1A47 #470A1A #1A470A
tetradic
#0A1A47 #470A38 #47370A #0A4718
square
#0A1A47 #470A38 #47370A #0A4718
split-complementary
#0A1A47 #47180A #38470A
monochromatic
#040A1B #040A1B #0A1A47 #122E7D #1941B2

Accessibility & contrast

On white

16.78
#0A1A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#0A1A47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A1A47
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A1A47#FFFFFF#000000##FFFFFF
##0A1A471.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002049
Deuteranopia (green-blind)
#001B46
Tritanopia (blue-blind)
#00252D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0a1a47;
/* rgb */ color: rgb(10, 26, 71);
/* oklch */ color: oklch(23.7% 0.087 265.3);
Tailwind
colors: {
  custom: {
    50: '#55567b',
    500: '#0a1a47',
    950: '#000000',
  },
}
SCSS
$custom: #0a1a47;
$custom-light: #55567b;
$custom-dark: #000000;
JSON
{
  "hex": "#0a1a47",
  "rgb": {
    "r": 10,
    "g": 26,
    "b": 71
  },
  "hsl": {
    "h": 224.262,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.23723,
    "c": 0.08711,
    "h": 265.3
  },
  "luminance": 0.01258
}

Semantic roles & 50–950 ramp

primary
#0A1A47
secondary
#846C29
accent
#C136F2
background
#F5F4F7
surface
#E9E8EE
border
#C5C4C9
text
#030309
muted
#78787B

Preview Lab

Preview with #0A1A47

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

Preview Lab → · Contrast checker → · Palette generator →

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