#082540#082540

#082540 is a dark, moderate cyan. Relative luminance 0.017; OKLCH L 25.9% C 0.061 H 250.1°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#082540
RGBrgb(8, 37, 64)
HSLhsl(209, 78%, 14%)
HSVhsv(209, 88%, 25%)
CMYKcmyk(87.5%, 42.2%, 0%, 74.9%)
CIE-LABlab(14.09, 0.74, -20.21)
CIE-LCHlch(14.09, 20.22, 272.09°)
OKLaboklab(25.92% -0.0208 -0.0576)
OKLCHoklch(25.92% 0.061 250.1)
XYZxyz(1.6868, 1.7447, 5.0974)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#082540 #402308
analogous
#08403F #082540 #080940
triadic
#082540 #400825 #254008
tetradic
#082540 #3F0840 #402308 #094008
square
#082540 #3F0840 #402308 #094008
split-complementary
#082540 #400809 #403F08
monochromatic
#03101B #03101B #082540 #0F4476 #1664AD

Accessibility & contrast

On white

15.57
#082540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#082540 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #082540
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##082540#FFFFFF#000000##FFFFFF
##0825401.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182741
Deuteranopia (green-blind)
#10213F
Tritanopia (blue-blind)
#002B2F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #082540;
/* rgb */ color: rgb(8, 37, 64);
/* oklch */ color: oklch(25.9% 0.061 250.1);
Tailwind
colors: {
  custom: {
    50: '#515f75',
    500: '#082540',
    950: '#000000',
  },
}
SCSS
$custom: #082540;
$custom-light: #515f75;
$custom-dark: #000000;
JSON
{
  "hex": "#082540",
  "rgb": {
    "r": 8,
    "g": 37,
    "b": 64
  },
  "hsl": {
    "h": 208.929,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.25915,
    "c": 0.06124,
    "h": 250.1
  },
  "luminance": 0.01745
}

Semantic roles & 50–950 ramp

primary
#082540
secondary
#7E5025
accent
#9034F4
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #082540

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

Preview Lab → · Contrast checker → · Palette generator →

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