#08163A#08163A

#08163A is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.4% C 0.073 H 264.7°. Best body text is #FFFFFF at 17.70:1 contrast (WCAG AA passes).

Color values

HEX#08163A
RGBrgb(8, 22, 58)
HSLhsl(223, 76%, 13%)
HSVhsv(223, 86%, 23%)
CMYKcmyk(86.2%, 62.1%, 0%, 77.3%)
CIE-LABlab(8.40, 9.63, -25.08)
CIE-LCHlch(8.40, 26.86, 291.00°)
OKLaboklab(21.38% -0.0066 -0.0722)
OKLCHoklch(21.38% 0.073 264.7)
XYZxyz(1.1505, 0.9308, 4.1212)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08163A #3A2C08
analogous
#082F3A #08163A #13083A
triadic
#08163A #3A0816 #163A08
tetradic
#08163A #3A082F #3A2C08 #083A13
square
#08163A #3A082F #3A2C08 #083A13
split-complementary
#08163A #3A1308 #2F3A08
monochromatic
#040A1B #040A1B #08163A #0F2A70 #173FA6

Accessibility & contrast

On white

17.70
#08163A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#08163A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08163A
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08163A#FFFFFF#000000##FFFFFF
##08163A1.0017.701.1917.70
#FFFFFF17.701.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3B
Deuteranopia (green-blind)
#001639
Tritanopia (blue-blind)
#001F25
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #08163a;
/* rgb */ color: rgb(8, 22, 58);
/* oklch */ color: oklch(21.4% 0.073 264.7);
Tailwind
colors: {
  custom: {
    50: '#505270',
    500: '#08163a',
    950: '#000000',
  },
}
SCSS
$custom: #08163a;
$custom-light: #505270;
$custom-dark: #000000;
JSON
{
  "hex": "#08163a",
  "rgb": {
    "r": 8,
    "g": 22,
    "b": 58
  },
  "hsl": {
    "h": 223.2,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.2138,
    "c": 0.07255,
    "h": 264.7
  },
  "luminance": 0.00931
}

Semantic roles & 50–950 ramp

primary
#08163A
secondary
#796125
accent
#BD35F2
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #08163A

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

Preview Lab → · Contrast checker → · Palette generator →

#08163A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva