#082147#082147

#082147 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.4% C 0.078 H 258.9°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#082147
RGBrgb(8, 33, 71)
HSLhsl(216, 80%, 15%)
HSVhsv(216, 89%, 28%)
CMYKcmyk(88.7%, 53.5%, 0%, 72.2%)
CIE-LABlab(13.19, 6.96, -26.50)
CIE-LCHlch(13.19, 27.40, 284.73°)
OKLaboklab(25.38% -0.015 -0.0762)
OKLCHoklch(25.38% 0.078 258.9)
XYZxyz(1.7809, 1.5941, 6.1738)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#082147 #472E08
analogous
#084047 #082147 #0E0847
triadic
#082147 #470821 #214708
tetradic
#082147 #470840 #472E08 #08470E
square
#082147 #470840 #472E08 #08470E
split-complementary
#082147 #470E08 #404708
monochromatic
#030D1C #030D1C #082147 #0E3B7E #1454B5

Accessibility & contrast

On white

15.92
#082147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #082147
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##082147#FFFFFF#000000##FFFFFF
##0821471.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2548
Deuteranopia (green-blind)
#001F46
Tritanopia (blue-blind)
#002A30
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #082147;
/* rgb */ color: rgb(8, 33, 71);
/* oklch */ color: oklch(25.4% 0.078 258.9);
Tailwind
colors: {
  custom: {
    50: '#535b7a',
    500: '#082147',
    950: '#000000',
  },
}
SCSS
$custom: #082147;
$custom-light: #535b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#082147",
  "rgb": {
    "r": 8,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 216.19,
    "s": 79.747,
    "l": 15.49
  },
  "oklch": {
    "l": 0.25384,
    "c": 0.07763,
    "h": 258.9
  },
  "luminance": 0.01594
}

Semantic roles & 50–950 ramp

primary
#082147
secondary
#855F26
accent
#A832F6
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #082147

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

Preview Lab → · Contrast checker → · Palette generator →

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