#082140#082140

#082140 is a very dark, moderate cyan. Relative luminance 0.015; OKLCH L 24.8% C 0.066 H 255.6°. Best body text is #FFFFFF at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#082140
RGBrgb(8, 33, 64)
HSLhsl(213, 78%, 14%)
HSVhsv(213, 88%, 25%)
CMYKcmyk(87.5%, 48.4%, 0%, 74.9%)
CIE-LABlab(12.67, 3.75, -22.47)
CIE-LCHlch(12.67, 22.78, 279.47°)
OKLaboklab(24.81% -0.0165 -0.0643)
OKLCHoklch(24.81% 0.066 255.6)
XYZxyz(1.5691, 1.5093, 5.0581)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#082140 #402708
analogous
#083D40 #082140 #0B0840
triadic
#082140 #400821 #214008
tetradic
#082140 #40083D #402708 #08400B
square
#082140 #40083D #402708 #08400B
split-complementary
#082140 #400B08 #3D4008
monochromatic
#030E1B #030E1B #082140 #0F3D76 #1659AD

Accessibility & contrast

On white

16.13
#082140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#082140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #082140
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##082140#FFFFFF#000000##FFFFFF
##0821401.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122441
Deuteranopia (green-blind)
#081E3F
Tritanopia (blue-blind)
#00282D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #082140;
/* rgb */ color: rgb(8, 33, 64);
/* oklch */ color: oklch(24.8% 0.066 255.6);
Tailwind
colors: {
  custom: {
    50: '#515b75',
    500: '#082140',
    950: '#000000',
  },
}
SCSS
$custom: #082140;
$custom-light: #515b75;
$custom-dark: #000000;
JSON
{
  "hex": "#082140",
  "rgb": {
    "r": 8,
    "g": 33,
    "b": 64
  },
  "hsl": {
    "h": 213.214,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.24807,
    "c": 0.06641,
    "h": 255.6
  },
  "luminance": 0.0151
}

Semantic roles & 50–950 ramp

primary
#082140
secondary
#7E5725
accent
#9E34F4
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #082140

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

Preview Lab → · Contrast checker → · Palette generator →

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