#082142#082142

#082142 is a very dark, moderate cyan. Relative luminance 0.015; OKLCH L 25.0% C 0.070 H 256.7°. Best body text is #FFFFFF at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#082142
RGBrgb(8, 33, 66)
HSLhsl(214, 78%, 15%)
HSVhsv(214, 88%, 26%)
CMYKcmyk(87.9%, 50%, 0%, 74.1%)
CIE-LABlab(12.81, 4.67, -23.64)
CIE-LCHlch(12.81, 24.09, 281.17°)
OKLaboklab(24.97% -0.0161 -0.0677)
OKLCHoklch(24.97% 0.07 256.7)
XYZxyz(1.6270, 1.5325, 5.3633)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#082142 #422908
analogous
#083E42 #082142 #0C0842
triadic
#082142 #420821 #214208
tetradic
#082142 #42083E #422908 #08420C
square
#082142 #42083E #422908 #08420C
split-complementary
#082142 #420C08 #3E4208
monochromatic
#030E1B #030E1B #082142 #0F3C79 #1558AF

Accessibility & contrast

On white

16.07
#082142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #082142
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##082142#FFFFFF#000000##FFFFFF
##0821421.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102443
Deuteranopia (green-blind)
#051F41
Tritanopia (blue-blind)
#00292E
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #082142;
/* rgb */ color: rgb(8, 33, 66);
/* oklch */ color: oklch(25.0% 0.070 256.7);
Tailwind
colors: {
  custom: {
    50: '#525b76',
    500: '#082142',
    950: '#000000',
  },
}
SCSS
$custom: #082142;
$custom-light: #525b76;
$custom-dark: #000000;
JSON
{
  "hex": "#082142",
  "rgb": {
    "r": 8,
    "g": 33,
    "b": 66
  },
  "hsl": {
    "h": 214.138,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24968,
    "c": 0.06962,
    "h": 256.7
  },
  "luminance": 0.01533
}

Semantic roles & 50–950 ramp

primary
#082142
secondary
#805925
accent
#A133F5
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #082142

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

Preview Lab → · Contrast checker → · Palette generator →

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