#082047#082047

#082047 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.1% C 0.079 H 259.7°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#082047
RGBrgb(8, 32, 71)
HSLhsl(217, 80%, 15%)
HSVhsv(217, 89%, 28%)
CMYKcmyk(88.7%, 54.9%, 0%, 72.2%)
CIE-LABlab(12.86, 7.74, -27.05)
CIE-LCHlch(12.86, 28.13, 285.97°)
OKLaboklab(25.12% -0.0141 -0.0778)
OKLCHoklch(25.12% 0.079 259.7)
XYZxyz(1.7536, 1.5394, 6.1647)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#082047 #472F08
analogous
#083F47 #082047 #0F0847
triadic
#082047 #470820 #204708
tetradic
#082047 #47083F #472F08 #08470F
square
#082047 #47083F #472F08 #08470F
split-complementary
#082047 #470F08 #3F4708
monochromatic
#030C1C #030C1C #082047 #0E397E #1452B5

Accessibility & contrast

On white

16.06
#082047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#082047 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #082047
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##082047#FFFFFF#000000##FFFFFF
##0820471.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092448
Deuteranopia (green-blind)
#001F46
Tritanopia (blue-blind)
#002930
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #082047;
/* rgb */ color: rgb(8, 32, 71);
/* oklch */ color: oklch(25.1% 0.079 259.7);
Tailwind
colors: {
  custom: {
    50: '#545a7a',
    500: '#082047',
    950: '#000000',
  },
}
SCSS
$custom: #082047;
$custom-light: #545a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#082047",
  "rgb": {
    "r": 8,
    "g": 32,
    "b": 71
  },
  "hsl": {
    "h": 217.143,
    "s": 79.747,
    "l": 15.49
  },
  "oklch": {
    "l": 0.25125,
    "c": 0.07906,
    "h": 259.7
  },
  "luminance": 0.0154
}

Semantic roles & 50–950 ramp

primary
#082047
secondary
#856126
accent
#AB32F6
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #082047

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

Preview Lab → · Contrast checker → · Palette generator →

#082047 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva