#08183A#08183A

#08183A is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.9% C 0.070 H 262.9°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#08183A
RGBrgb(8, 24, 58)
HSLhsl(221, 76%, 13%)
HSVhsv(221, 86%, 23%)
CMYKcmyk(86.2%, 58.6%, 0%, 77.3%)
CIE-LABlab(9.08, 8.02, -23.99)
CIE-LCHlch(9.08, 25.29, 288.49°)
OKLaboklab(21.89% -0.0086 -0.069)
OKLCHoklch(21.89% 0.07 262.9)
XYZxyz(1.1902, 1.0102, 4.1344)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08183A #3A2A08
analogous
#08313A #08183A #11083A
triadic
#08183A #3A0818 #183A08
tetradic
#08183A #3A0831 #3A2A08 #083A11
square
#08183A #3A0831 #3A2A08 #083A11
split-complementary
#08183A #3A1108 #313A08
monochromatic
#040B1B #040B1B #08183A #0F2E70 #1745A6

Accessibility & contrast

On white

17.47
#08183A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#08183A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08183A
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08183A#FFFFFF#000000##FFFFFF
##08183A1.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041C3B
Deuteranopia (green-blind)
#001739
Tritanopia (blue-blind)
#002026
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #08183a;
/* rgb */ color: rgb(8, 24, 58);
/* oklch */ color: oklch(21.9% 0.070 262.9);
Tailwind
colors: {
  custom: {
    50: '#505470',
    500: '#08183a',
    950: '#000000',
  },
}
SCSS
$custom: #08183a;
$custom-light: #505470;
$custom-dark: #000000;
JSON
{
  "hex": "#08183a",
  "rgb": {
    "r": 8,
    "g": 24,
    "b": 58
  },
  "hsl": {
    "h": 220.8,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.21893,
    "c": 0.06951,
    "h": 262.9
  },
  "luminance": 0.0101
}

Semantic roles & 50–950 ramp

primary
#08183A
secondary
#795E25
accent
#B635F2
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #08183A

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

Preview Lab → · Contrast checker → · Palette generator →

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