#082640#082640

#082640 is a dark, moderate cyan. Relative luminance 0.018; OKLCH L 26.2% C 0.060 H 248.6°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#082640
RGBrgb(8, 38, 64)
HSLhsl(208, 78%, 14%)
HSVhsv(208, 88%, 25%)
CMYKcmyk(87.5%, 40.6%, 0%, 74.9%)
CIE-LABlab(14.44, 0.00, -19.64)
CIE-LCHlch(14.44, 19.64, 270.00°)
OKLaboklab(26.2% -0.0219 -0.0559)
OKLCHoklch(26.2% 0.06 248.6)
XYZxyz(1.7183, 1.8078, 5.1079)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#082640 #402208
analogous
#08403E #082640 #080A40
triadic
#082640 #400826 #264008
tetradic
#082640 #3E0840 #402208 #0A4008
square
#082640 #3E0840 #402208 #0A4008
split-complementary
#082640 #40080A #403E08
monochromatic
#03101B #03101B #082640 #0F4676 #1667AD

Accessibility & contrast

On white

15.42
#082640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#082640 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #082640
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##082640#FFFFFF#000000##FFFFFF
##0826401.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2741
Deuteranopia (green-blind)
#12223F
Tritanopia (blue-blind)
#002C30
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #082640;
/* rgb */ color: rgb(8, 38, 64);
/* oklch */ color: oklch(26.2% 0.060 248.6);
Tailwind
colors: {
  custom: {
    50: '#515f75',
    500: '#082640',
    950: '#000000',
  },
}
SCSS
$custom: #082640;
$custom-light: #515f75;
$custom-dark: #000000;
JSON
{
  "hex": "#082640",
  "rgb": {
    "r": 8,
    "g": 38,
    "b": 64
  },
  "hsl": {
    "h": 207.857,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.26196,
    "c": 0.06005,
    "h": 248.6
  },
  "luminance": 0.01808
}

Semantic roles & 50–950 ramp

primary
#082640
secondary
#7E4F25
accent
#8D34F4
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #082640

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

Preview Lab → · Contrast checker → · Palette generator →

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