#082542#082542

#082542 is a dark, moderate cyan. Relative luminance 0.018; OKLCH L 26.1% C 0.064 H 251.7°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#082542
RGBrgb(8, 37, 66)
HSLhsl(210, 78%, 15%)
HSVhsv(210, 88%, 26%)
CMYKcmyk(87.9%, 43.9%, 0%, 74.1%)
CIE-LABlab(14.22, 1.64, -21.39)
CIE-LCHlch(14.22, 21.45, 274.39°)
OKLaboklab(26.06% -0.0202 -0.061)
OKLCHoklch(26.06% 0.064 251.7)
XYZxyz(1.7447, 1.7679, 5.4025)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#082542 #422508
analogous
#084242 #082542 #080842
triadic
#082542 #420825 #254208
tetradic
#082542 #420842 #422508 #084208
square
#082542 #420842 #422508 #084208
split-complementary
#082542 #420808 #424208
monochromatic
#030F1B #030F1B #082542 #0F4479 #1562AF

Accessibility & contrast

On white

15.51
#082542 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #082542
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##082542#FFFFFF#000000##FFFFFF
##0825421.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172743
Deuteranopia (green-blind)
#0E2241
Tritanopia (blue-blind)
#002C30
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #082542;
/* rgb */ color: rgb(8, 37, 66);
/* oklch */ color: oklch(26.1% 0.064 251.7);
Tailwind
colors: {
  custom: {
    50: '#525f76',
    500: '#082542',
    950: '#000000',
  },
}
SCSS
$custom: #082542;
$custom-light: #525f76;
$custom-dark: #000000;
JSON
{
  "hex": "#082542",
  "rgb": {
    "r": 8,
    "g": 37,
    "b": 66
  },
  "hsl": {
    "h": 210,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.26062,
    "c": 0.06431,
    "h": 251.7
  },
  "luminance": 0.01768
}

Semantic roles & 50–950 ramp

primary
#082542
secondary
#805325
accent
#9433F5
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #082542

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

Preview Lab → · Contrast checker → · Palette generator →

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