#0A163E#0A163E

#0A163E is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.9% C 0.078 H 267.0°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#0A163E
RGBrgb(10, 22, 62)
HSLhsl(226, 72%, 14%)
HSVhsv(226, 84%, 24%)
CMYKcmyk(83.9%, 64.5%, 0%, 75.7%)
CIE-LABlab(8.87, 11.78, -27.17)
CIE-LCHlch(8.87, 29.61, 293.44°)
OKLaboklab(21.88% -0.0041 -0.0783)
OKLCHoklch(21.88% 0.078 267)
XYZxyz(1.2813, 0.9860, 4.6793)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A163E #3E320A
analogous
#0A303E #0A163E #180A3E
triadic
#0A163E #3E0A16 #163E0A
tetradic
#0A163E #3E0A30 #3E320A #0A3E18
square
#0A163E #3E0A30 #3E320A #0A3E18
split-complementary
#0A163E #3E180A #303E0A
monochromatic
#04091A #04091A #0A163E #132973 #1B3BA7

Accessibility & contrast

On white

17.54
#0A163E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#0A163E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A163E
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A163E#FFFFFF#000000##FFFFFF
##0A163E1.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3F
Deuteranopia (green-blind)
#00173D
Tritanopia (blue-blind)
#002027
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0a163e;
/* rgb */ color: rgb(10, 22, 62);
/* oklch */ color: oklch(21.9% 0.078 267.0);
Tailwind
colors: {
  custom: {
    50: '#525274',
    500: '#0a163e',
    950: '#000000',
  },
}
SCSS
$custom: #0a163e;
$custom-light: #525274;
$custom-dark: #000000;
JSON
{
  "hex": "#0a163e",
  "rgb": {
    "r": 10,
    "g": 22,
    "b": 62
  },
  "hsl": {
    "h": 226.154,
    "s": 72.222,
    "l": 14.118
  },
  "oklch": {
    "l": 0.21882,
    "c": 0.07844,
    "h": 267
  },
  "luminance": 0.00986
}

Semantic roles & 50–950 ramp

primary
#0A163E
secondary
#7B6828
accent
#C539EF
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0A163E

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

Preview Lab → · Contrast checker → · Palette generator →

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