#082242#082242

#082242 is a dark, moderate cyan. Relative luminance 0.016; OKLCH L 25.2% C 0.068 H 255.5°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#082242
RGBrgb(8, 34, 66)
HSLhsl(213, 78%, 15%)
HSVhsv(213, 88%, 26%)
CMYKcmyk(87.9%, 48.5%, 0%, 74.1%)
CIE-LABlab(13.16, 3.90, -23.08)
CIE-LCHlch(13.16, 23.41, 279.60°)
OKLaboklab(25.24% -0.0171 -0.0661)
OKLCHoklch(25.24% 0.068 255.5)
XYZxyz(1.6552, 1.5888, 5.3726)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#082242 #422808
analogous
#083F42 #082242 #0B0842
triadic
#082242 #420822 #224208
tetradic
#082242 #42083F #422808 #08420B
square
#082242 #42083F #422808 #08420B
split-complementary
#082242 #420B08 #3F4208
monochromatic
#030E1B #030E1B #082242 #0F3E79 #155AAF

Accessibility & contrast

On white

15.94
#082242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#082242 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #082242
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##082242#FFFFFF#000000##FFFFFF
##0822421.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122543
Deuteranopia (green-blind)
#071F41
Tritanopia (blue-blind)
#002A2E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #082242;
/* rgb */ color: rgb(8, 34, 66);
/* oklch */ color: oklch(25.2% 0.068 255.5);
Tailwind
colors: {
  custom: {
    50: '#525c76',
    500: '#082242',
    950: '#000000',
  },
}
SCSS
$custom: #082242;
$custom-light: #525c76;
$custom-dark: #000000;
JSON
{
  "hex": "#082242",
  "rgb": {
    "r": 8,
    "g": 34,
    "b": 66
  },
  "hsl": {
    "h": 213.103,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25238,
    "c": 0.06824,
    "h": 255.5
  },
  "luminance": 0.01589
}

Semantic roles & 50–950 ramp

primary
#082242
secondary
#805825
accent
#9E33F5
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #082242

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

Preview Lab → · Contrast checker → · Palette generator →

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