#082046#082046

#082046 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.0% C 0.077 H 259.4°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#082046
RGBrgb(8, 32, 70)
HSLhsl(217, 79%, 15%)
HSVhsv(217, 89%, 27%)
CMYKcmyk(88.6%, 54.3%, 0%, 72.5%)
CIE-LABlab(12.78, 7.28, -26.48)
CIE-LCHlch(12.78, 27.46, 285.37°)
OKLaboklab(25.04% -0.0143 -0.0761)
OKLCHoklch(25.04% 0.077 259.4)
XYZxyz(1.7217, 1.5266, 5.9971)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#082046 #462E08
analogous
#083F46 #082046 #0F0846
triadic
#082046 #460820 #204608
tetradic
#082046 #46083F #462E08 #08460F
square
#082046 #46083F #462E08 #08460F
split-complementary
#082046 #460F08 #3F4608
monochromatic
#030D1B #030D1B #082046 #0E397D #1552B4

Accessibility & contrast

On white

16.09
#082046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #082046
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##082046#FFFFFF#000000##FFFFFF
##0820461.0016.091.3116.09
#FFFFFF16.091.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2447
Deuteranopia (green-blind)
#001E45
Tritanopia (blue-blind)
#00292F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #082046;
/* rgb */ color: rgb(8, 32, 70);
/* oklch */ color: oklch(25.0% 0.077 259.4);
Tailwind
colors: {
  custom: {
    50: '#535a7a',
    500: '#082046',
    950: '#000000',
  },
}
SCSS
$custom: #082046;
$custom-light: #535a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#082046",
  "rgb": {
    "r": 8,
    "g": 32,
    "b": 70
  },
  "hsl": {
    "h": 216.774,
    "s": 79.487,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25038,
    "c": 0.07745,
    "h": 259.4
  },
  "luminance": 0.01527
}

Semantic roles & 50–950 ramp

primary
#082046
secondary
#846026
accent
#AA32F6
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #082046

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

Preview Lab → · Contrast checker → · Palette generator →

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