#082040#082040

#082040 is a very dark, moderate cyan. Relative luminance 0.015; OKLCH L 24.5% C 0.068 H 256.8°. Best body text is #FFFFFF at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#082040
RGBrgb(8, 32, 64)
HSLhsl(214, 78%, 14%)
HSVhsv(214, 88%, 25%)
CMYKcmyk(87.5%, 50%, 0%, 74.9%)
CIE-LABlab(12.32, 4.51, -23.03)
CIE-LCHlch(12.32, 23.47, 281.09°)
OKLaboklab(24.54% -0.0155 -0.066)
OKLCHoklch(24.54% 0.068 256.8)
XYZxyz(1.5417, 1.4546, 5.0490)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#082040 #402808
analogous
#083C40 #082040 #0C0840
triadic
#082040 #400820 #204008
tetradic
#082040 #40083C #402808 #08400C
square
#082040 #40083C #402808 #08400C
split-complementary
#082040 #400C08 #3C4008
monochromatic
#030E1B #030E1B #082040 #0F3B76 #1656AD

Accessibility & contrast

On white

16.27
#082040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#082040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #082040
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##082040#FFFFFF#000000##FFFFFF
##0820401.0016.271.2916.27
#FFFFFF16.271.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102341
Deuteranopia (green-blind)
#051E3F
Tritanopia (blue-blind)
#00282C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #082040;
/* rgb */ color: rgb(8, 32, 64);
/* oklch */ color: oklch(24.5% 0.068 256.8);
Tailwind
colors: {
  custom: {
    50: '#515a75',
    500: '#082040',
    950: '#000000',
  },
}
SCSS
$custom: #082040;
$custom-light: #515a75;
$custom-dark: #000000;
JSON
{
  "hex": "#082040",
  "rgb": {
    "r": 8,
    "g": 32,
    "b": 64
  },
  "hsl": {
    "h": 214.286,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.24536,
    "c": 0.06778,
    "h": 256.8
  },
  "luminance": 0.01455
}

Semantic roles & 50–950 ramp

primary
#082040
secondary
#7E5825
accent
#A234F4
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020308
muted
#78787B

Preview Lab

Preview with #082040

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

Preview Lab → · Contrast checker → · Palette generator →

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