#082240#082240

#082240 is a dark, moderate cyan. Relative luminance 0.016; OKLCH L 25.1% C 0.065 H 254.3°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#082240
RGBrgb(8, 34, 64)
HSLhsl(212, 78%, 14%)
HSVhsv(212, 88%, 25%)
CMYKcmyk(87.5%, 46.9%, 0%, 74.9%)
CIE-LABlab(13.02, 2.98, -21.91)
CIE-LCHlch(13.02, 22.11, 277.76°)
OKLaboklab(25.08% -0.0176 -0.0626)
OKLCHoklch(25.08% 0.065 254.3)
XYZxyz(1.5972, 1.5657, 5.0675)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#082240 #402608
analogous
#083E40 #082240 #0A0840
triadic
#082240 #400822 #224008
tetradic
#082240 #40083E #402608 #08400A
square
#082240 #40083E #402608 #08400A
split-complementary
#082240 #400A08 #3E4008
monochromatic
#030E1B #030E1B #082240 #0F3F76 #165CAD

Accessibility & contrast

On white

15.99
#082240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#082240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #082240
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##082240#FFFFFF#000000##FFFFFF
##0822401.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132441
Deuteranopia (green-blind)
#0A1F3F
Tritanopia (blue-blind)
#00292D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #082240;
/* rgb */ color: rgb(8, 34, 64);
/* oklch */ color: oklch(25.1% 0.065 254.3);
Tailwind
colors: {
  custom: {
    50: '#515c75',
    500: '#082240',
    950: '#000000',
  },
}
SCSS
$custom: #082240;
$custom-light: #515c75;
$custom-dark: #000000;
JSON
{
  "hex": "#082240",
  "rgb": {
    "r": 8,
    "g": 34,
    "b": 64
  },
  "hsl": {
    "h": 212.143,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.25081,
    "c": 0.06507,
    "h": 254.3
  },
  "luminance": 0.01566
}

Semantic roles & 50–950 ramp

primary
#082240
secondary
#7E5525
accent
#9B34F4
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #082240

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

Preview Lab → · Contrast checker → · Palette generator →

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